Skip to main content
POST
/
v1
/
queue
Create queue
curl --request POST \
  --url https://api.usenaive.ai/v1/queue \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "standard",
  "dlq": true
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
name
string
required
type
enum<string>
default:standard
Available options:
standard,
fifo
dlq
boolean

Response

Created.

The response is of type object.