POST
/
conversations
curl --request POST \
  --url https://api.operator.xyz/conversations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Operator-Version: <operator-version>' \
  --data '{
  "operator_id": "<string>",
  "task_id": "<string>",
  "phone_no": "<string>",
  "context": {},
  "leave_voicemail": false,
  "livemode": true,
  "language": null,
  "priority": "normal"
}'
{
  "id": "<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:
2024-11-11

Body

application/json

Parameters for creating an outbound conversation.

Response

200
application/json

Success

Response object for creating an outbound conversation.