Skip to main content
POST
/
chats
/
{chat_id}
/
sync
chat (sync)
curl --request POST \
  --url https://api.example.com/chats/{chat_id}/sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "attributes": [
    "<string>"
  ],
  "approval_id": "<string>",
  "is_approved": true
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Path Parameters

chat_id
string
required

Body

application/json
message
string
required
attributes
string[] | null
approval_id
string | null
is_approved
boolean | null

Response

Successful Response

Non-streamed chat response containing the final output text.

message
string
required