Skip to main content
POST
/
api
/
v1
/
conversations
/
{conversation_id}
/
message
Post Message
curl --request POST \
  --url https://api.example.com/api/v1/conversations/{conversation_id}/message/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'content=<string>' \
  --form 'node_ids=<string>' \
  --form 'images=<string>' \
  --form images.0.items='@example-file'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversation_id
string
required

Query Parameters

stream
boolean
default:true

Whether to stream the response

session_id
string | null

Session ID for reconnection

prev_human_message_id
string | null

Previous human message ID for deterministic session ID

cursor
string | null

Stream cursor for replay

Body

multipart/form-data
content
string
required
node_ids
string | null
images
file[] | null

Response

Successful Response