Skip to main content
POST
Send a message to an agent

Authorizations

Authorization
string
header
required

A workspace API key from Workspace settings > API keys, sent as Authorization: Bearer cl_api_.... A Read only key can call the GET endpoints; every other method needs a Full access key.

Path Parameters

agentId
string
required
Required string length: 1 - 128

Body

application/json
message
string
required
Required string length: 1 - 12000
conversationId
string<uuid>
userId
string
Required string length: 1 - 128
requestId
string<uuid>
stream
boolean
default:true
conversation_initiation_client_data
object

Response

The agent's reply.

data
object
required