Skip to main content
Sends a user message to an existing conversation and returns the assistant’s response. The assistant processes the message using its configured AI model and any available tools.

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.