Skip to main content
POST

Authorizations

Authorization
string
header
required

HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).

Body

application/json
phones
string[]
required

1 to 50 external phone numbers, E.164, matched exactly. A number given twice is looked up once.

Required array length: 1 - 50 elements
Pattern: ^\+[1-9][0-9]{6,14}$
Example:
channel
enum<string>

Only this channel. Default: both.

Available options:
sms,
whatsapp
limit
integer
default:20

Page size, 1 to 100. A value outside that range is clamped, and pagination.limit shows the size used. A value longer than 12 digits is refused with 422 VALIDATION.INVALID_FIELD.

Example:

20

cursor
string

The previous page's pagination.next, unchanged, with the same phones and channel. Leave it out for the first page.

Response

One page of matching conversations.

data
object[]
required
pagination
object
required
requestId
string
required