API hosts
Each endpoint’s reference page shows its full URL. A request sent to the wrong host answers
404. Use HTTPS.
Methods and headers
Onmy.cloudtalk.io/api, PUT creates and POST updates, the reverse of the usual convention. PATCH is not used.
Three endpoints are actions and use
POST: Make a call, and the legacy Send sms and Contact actions.
Send Accept: application/json on every GET: without it, a request may be refused with 404 or 406. Send Content-Type: application/json with a body.
Responses
Responses are wrapped inresponseData. One resource:
itemsCount, pageCount, pageNumber and limit:
PUTcreates answer201. Make a call answers200with only{"responseData": {"status": 200}}.- Not every collection paginates: List countries puts a plain array in
responseData. - Download a call recording answers
audio/x-wav, with no envelope. - Timestamps are UTC, in two forms:
2017-10-04T06:33:37.000Zon call records, and2017-12-24 12:22:00in thedate_fromanddate_tofilters. Take the form from the endpoint’s reference page. - Call history groups each record’s fields in nested objects: the call is under
Cdr, withContact,Agent,NotesandTagsbeside it.
Pagination
Sendlimit (1 to 1000; left out, the server applies its default and reports it in limit) and page (from 1). Read pages until pageNumber equals pageCount, and stop on an empty data too.
date_from and date_to window instead of resuming from a page number.
Errors
Errors are wrapped inresponseData, with status equal to the HTTP status:
Rate limit
my.cloudtalk.io/api allows 60 requests per minute per company by default, one count for all its endpoints, shared by every API key of your account. Over it, the answer is 429 with {"responseData": {"status": 429, "message": "Rate Limit Exceeded."}} and the X-CloudTalkAPI-Limit, X-CloudTalkAPI-Remaining and X-CloudTalkAPI-ResetTime headers. Here X-CloudTalkAPI-ResetTime is a Unix timestamp: wait until that time, then retry. To ask for a higher limit, see Rate limiting.
Make a call
Make a call rings the agent first, who has 20 seconds to answer, then dials the callee:user_id and date_from.
Other hosts
- Get call details on
analytics-api.cloudtalk.ioanswers a bare JSON object. Its errors are{ "statusCode", "message", "error" }, with nocorrelationId;messagemay be an array of validation messages. - CueCard on
platform-api.cloudtalk.ioanswers{"success": true}, or{"success": false, "errors": [...]}. It answers424when the call it names has ended orcall_uuidis not a call uuid, and429with no body from the gateway, or with an error body andRetry-Afterwhen too many cue cards wait for an agent to answer.
Replacements for the LEGACY endpoints
The LEGACY endpoints keep working. For new integrations, use their v1 replacements:- Contacts (LEGACY): use Contacts. Notes and activities have no v1 equivalent.
- Contact tags (LEGACY): use Contact tags.
- Bulks (LEGACY): use Bulk upsert contacts to create and update up to 100 contacts, and Delete a contact to delete them one at a time.
- Campaigns (LEGACY): use the AI Sales Dialer campaign endpoints.
- Numbers (LEGACY): use the v1 Numbers and Call flows endpoints, as below.
- SMS (LEGACY): use Send a message, and Bulk send messages for up to 50 recipients in one call.
- CueCard (LEGACY): use Send an insight card. CueCard keeps working for at least 365 days from its deprecation date, 2026-11-12, but some of its answers changed and every cue card shows as an insight card. Migrate from Cue Cards maps every field.