Skip to main content
POST
/
v1
/
queue
/
{id}
/
messages
Send message
curl --request POST \
  --url https://api.usenaive.ai/v1/queue/{id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "group_id": "<string>",
  "dedup_id": "<string>",
  "delay_seconds": 123
}
'
{
  "messageId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
body
string
required
group_id
string
dedup_id
string
delay_seconds
number

Response

Sent.

messageId
string