GET
/
conversations
curl --request GET \
  --url https://api.operator.xyz/conversations \
  --header 'Authorization: Bearer <token>' \
  --header 'Operator-Version: <operator-version>'
{
  "data": [
    {
      "id": "<string>",
      "livemode": true,
      "created_at": "2023-11-07T05:31:56Z",
      "started_at": null,
      "completed_at": null,
      "direction": "inbound",
      "phone_no": null,
      "status": "queued",
      "transferred": true,
      "postprocessed": true,
      "postprocessed_at": null,
      "duration_sec": null,
      "sentiment": null,
      "zendesk_ticket_id": null,
      "scenarios": [
        "<string>"
      ],
      "custom_fields": {}
    }
  ],
  "cursor": null
}

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

Query Parameters

operator_id
string
required

The ID of the Operator that handled the conversation.

cursor
string

Cursor to paginate through the conversations.

created_at_gte
string

Filter conversations created after this date.

created_at_lt
string

Filter conversations created before this date.

completed_at_gte
string

Filter conversations completed after this date.

completed_at_lt
string

Filter conversations completed before this date.

postprocessed_at_gte
string

Filter conversations postprocessed after this date.

postprocessed_at_lt
string

Filter conversations postprocessed before this date.

Response

200
application/json

Success

Response object for listing conversations.