Skip to main content
The CloudTalk REST API gives you programmatic access to your call center data and operations. It is organized around resources, such as AI Voice Agents, Contacts, Calls and Webhooks, with predictable, resource-oriented URLs. All requests are made over HTTPS, and responses are UTF-8 encoded JSON.

API hosts

The API is served from four hosts. Each endpoint page shows its full URL. The same API key works on every host, and a request sent to the wrong host answers 404. For new integrations, use the v1 endpoints where they exist: the v1 Contacts endpoints rather than the legacy ones, and the AI Sales Dialer endpoints for campaigns.

Authentication

Every request to the CloudTalk API must include HTTP Basic Auth credentials — the same key pair on every host. Use your API Access Key ID as the username and your API Access Key Secret as the password.
Only Administrators can create API keys. You can generate and manage them in the CloudTalk Dashboard under Settings → API Keys (open directly).
Keep your API credentials secure. Do not commit them to source control or expose them in client-side code. Rotate your credentials immediately if they are compromised.

Response Envelope

All successful responses from the classic API are wrapped in a top-level responseData object. Paginated collection endpoints include pagination metadata alongside the data array.
Single-resource responses omit the pagination fields and return the resource object directly inside responseData.
The current API has no responseData envelope. It returns one resource as a bare object and a list as { data, pagination: { limit, next }, requestId }; AI Sales Dialer lists are { data, meta }. Response envelopes shows every shape.

HTTP Methods

The classic API does not use POST and PUT the way most REST APIs do. On my.cloudtalk.io/api, PUT creates and POST updates, the reverse of the usual convention. Reaching for POST to create a resource there will not work.
Three classic endpoints are actions rather than updates, and use POST for that: Make a call, Send sms and the legacy Contact actions. Not every current surface offers every method: AI Conversation Intelligence is read-only, for example.

Error Handling

When a request fails, CloudTalk returns an appropriate HTTP status code along with a JSON body describing the error. On the classic API, the body is wrapped in responseData:
On the current API, errors are { error: { code, message, target, details }, requestId }, with the codes listed on each endpoint page; the AI Sales Dialer and AI Conversation Intelligence use { statusCode, message, error, correlationId }, and starting or stopping AI voice agent calls answers application/problem+json. Error codes lists every shape. Common status codes you will encounter across all endpoints:

Pagination

Classic API collection endpoints support pagination via limit and page query parameters. The response envelope includes itemsCount, pageCount, and pageNumber fields to help you iterate through large result sets.
The maximum value for limit is 1000 on the classic API. The current API pages with a cursor instead: pass limit, then send the pagination.next of each answer back as cursor until it is null (on the AI Sales Dialer, meta.nextCursor). See Pagination.

Resources

The API is divided into the following resource groups, in the order of the sidebar:

AI Voice Agents

Create and manage AI voice agents and their knowledge bases, start outbound AI calls, and stop outbound dialing in an emergency.

AI Conversation Intelligence

Read the AI analysis of a call: summary, transcription, sentiment, topics, talk-listen ratio and smart notes.

Contacts

Search, create, update and delete contacts, upsert up to 100 at a time, and manage contact tags and contact fields.

AI Sales Dialer & Campaigns

Manage AI Sales Dialer campaigns, campaign contacts, call scripts, surveys, disposition buttons, statistics and exports.

Calls

Access call history, download recordings, start outbound calls, and read real-time group statistics.

Call tags

List the plain call tags, read a call’s tags, and add or remove them.

Messaging

Send SMS and WhatsApp messages from your CloudTalk numbers, one recipient per request.

Numbers

List and configure the phone numbers assigned to your CloudTalk account.

User status

Read what each user is doing now, set a user Online or Idle, and list the status types.

Agents

List, add, edit and delete the agents in your account.

Groups

List agent groups, and add an agent to a group or remove one.

Webhooks

Manage webhook endpoints, their signing secrets, test events and the delivery log.

Utilities

Read supporting data such as the countries list, and manage the inbound call blacklist.

CueCard

Show real-time guidance cards to agents during live calls.

Legacy

These older endpoints on my.cloudtalk.io/api keep working unchanged. Use their replacements for new integrations:

Rate Limits

CloudTalk enforces rate limits to ensure platform stability. If you exceed the allowed request rate, the API returns a 429 Too Many Requests response. Implement exponential backoff in your integration to handle transient rate-limit errors gracefully.
For high-volume integrations, batch contact writes with Bulk upsert contacts (up to 100 contacts per request), and cache reference data (agents, groups, tags) locally rather than fetching it on every request.