Endpoint
POST /conversations/{uuid}/messages
Path parameters
string
required
UUID of the conversation to send the message to.
Request
string
required
The user’s message. Maximum 2000 characters.
Response
boolean
Whether the request was successful.
string
The assistant’s response.
array
Functions executed by the assistant while processing the message. Empty array if none were called.
Example
200 Success
200 With function calls
404 Conversation not found
400 Insufficient balance
Each user message in a
widget conversation costs $0.01. Test conversations are free.