POST
/
conversations
Create a conversation
curl --request POST \
  --url https://api.operator.xyz/conversations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Operator-Version: <operator-version>' \
  --data '{
  "agent_id": "<string>",
  "channel": {
    "type": "phone",
    "callee_no": "<string>",
    "caller_no": null,
    "priority": "normal"
  }
}'
{
  "id": "<string>",
  "channel": {
    "type": "phone",
    "callee_no": null,
    "caller_no": null,
    "events_url": "<string>"
  }
}

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

Body

application/json

Response

200
application/json

Successful response.

The response is of type object.