Skip to main content
POST
Send a message

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

conversationId
string
required

Body

application/json
message
string
required
Maximum string length: 100000
attachmentIds
string[]

Ids of attachments staged with POST /conversations/{conversationId}/attachments.

Maximum array length: 5

Response

What the message became

kind
enum<string>
Available options:
turn,
followUp
turn
object