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.Response Envelope
All successful responses from the classic API are wrapped in a top-levelresponseData object. Paginated collection endpoints include pagination metadata alongside the data array.
responseData.
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
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 inresponseData:
{ 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 vialimit and page query parameters. The response envelope includes itemsCount, pageCount, and pageNumber fields to help you iterate through large result sets.
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 onmy.cloudtalk.io/api keep working unchanged. Use
their replacements for new integrations:
- Contacts (LEGACY): use Contacts. Notes and activities have no v1 equivalent yet.
- Contact tags (LEGACY): use Contact tags.
- Bulks (LEGACY): use Bulk upsert contacts to create and update up to 100 contacts. Bulk delete has no v1 equivalent yet: delete one contact at a time with Delete a contact.
- Campaigns (LEGACY): use the AI Sales Dialer campaign endpoints.
Rate Limits
CloudTalk enforces rate limits to ensure platform stability. If you exceed the allowed request rate, the API returns a429 Too Many Requests response. Implement exponential backoff in your integration to handle transient rate-limit errors gracefully.