Skip to content

Post Message

POST
/api/v1/conversations/{thread_id}/messages

Persist a Chairman message and dispatch the agent.

The persisted message is also published to the SSE channel so any open /stream subscriber sees the chairman’s own message echoed back — this lets the UI render optimistically and reconcile.

Authorizations

Parameters

Path Parameters

thread_id
required
string format: uuid

Request Body required

object
attachments
Array<object>
object
key
additional properties
any
content
required
string
>= 1 characters

Responses

200

Successful Response

object
ack
boolean
default: true
message_id
required
string

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string