POST
/
conversations
/
{conversation_id}
/
session
Async conversation session
curl --request POST \
  --url https://api.operator.xyz/conversations/{conversation_id}/session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Operator-Version: <operator-version>' \
  --data '{
  "payload": {
    "type": "user.message.send",
    "text": "<string>"
  }
}'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "agent_id": "<string>",
  "livemode": true,
  "conversation_id": "<string>",
  "payload": {
    "type": "conversation.setup"
  },
  "experimental": true
}

Authorizations

Authorization
string
header
required

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

Headers

Operator-Version
enum<string>
required

The API version to use.

Available options:
2025-06-19

Path Parameters

conversation_id
string
required

Unique identifier for the conversation, e.g. conv_8qm9JBCiTe7.

Body

application/json

Events sent by the client to initiate or interact with a conversation.

Response

200
text/event-stream

Successful response.

Events emitted by the agent system in response to client input or internal agent logic.