Skip to main content
POST
Send Message

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string<uuid>
required

Body

application/json

Send a message in a chat session.

Content is a plain string (user input). Attachments are optional file references (R2 keys) that get converted to content blocks.

content
string
required
Required string length: 1 - 10000
attachments
Attachments · object[] | null

Response

Successful Response