Skip to main content
POST
Send a message to the assistant

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or a member token. The credential alone identifies the member and company.

Path Parameters

id
string<uuid>
required

Conversation id.

Body

application/json

The member's message.

text
string
required

The message; must contain a non-space character.

Required string length: 1 - 8000

Response

The reply as server-sent events, sent when Accept prefers text/event-stream. The status is 200 because it is sent before the reply is complete; the reply's outcome is in the final frames.

Frames separated by a blank line. Each starts with data: and holds one JSON object (delta, exchange or error), except the last, END_OF_STREAM.