Skip to main content
POST
/
v1
/
tasks
/
{taskId}
/
message
Send task message
curl --request POST \
  --url https://capy.ai/api/v1/tasks/{taskId}/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "attachmentUrls": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

API token (capy_xxxx). Generate at capy.ai/settings/tokens

Path Parameters

taskId
string
required

Task identifier. Accepts both UUID and PREFIX-NNN formats.

Body

application/json
message
string
required
Minimum string length: 1
attachmentUrls
string<uri>[]

Response

Success

id
string
required
status
string
required
Allowed value: "sent"