Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Headers

customer
string
required

Workspace identifier

Path Parameters

id
string
required

Body

application/json
messages
object[]
required

The next turn: one or more { "role": "user", "content": "…" } messages. The agent answers in the background; poll the chat for the reply.

branch_id
string | null

Response

201 - application/json
job_id
string
required

Identifies this send within the chat.

queued
boolean
required

False: the chat was idle and this message became a turn at once. True: a turn was already running and this message runs after it finishes.