v1

latestOpenAPI 3.1.02026-07-13154170539.0 KB
Messages
Messages

Send a message to an assistant

Send a programmatic message to an assistant. Returns a message_id that can be polled via GET /messages/{message_id} for the response.

post/v0/messages

Request body

assistant_idinteger required

The ID of the assistant to send the message to.

messagestring required

The message content.

tagsstring[]

Optional tags for routing and context (e.g. ['source:slack', 'channel:#general']).

Example request

{
  "assistant_id": 42,
  "message": "Add milk to my shopping list."
}

Response

Successful Response