CallCloud API
Push prospects into the lists your campaigns dial, and pull every finished call, with its outcome, notes, recording and AI summary, back into your CRM. JSON over HTTPS.
Everything the CallCloud MCP server can do, this API can do too: the same stats, call search, prospects and sequence emails, answered by the same code.
Getting started
- An admin creates a key in Settings, Developers, API keys. It is shown once, so copy it then.
- Check it works:
GET /mereturns your workspace, reps and call outcomes. - Feed a campaign: create a list with contacts (
POST /lists), then attach it to a campaign (POST /campaigns/:id/lists). Campaigns are created and started in the app. - Sync results: poll
GET /callswith thenext_cursorfrom your last page. - Manage the team: add people with
POST /team/membersand remove them withDELETE /team/members/:id.
Base URL: https://dialer.callcloud.app/api/v1
Authentication
Send your key as a bearer token on every request. Keys start with ccp_, belong to one workspace, and must stay on your server, never in a browser.
curl https://dialer.callcloud.app/api/v1/me \
-H "Authorization: Bearer ccp_your_key"Errors and limits
Every error has the same shape:
{ "error": { "code": "not_found", "message": "No list with id \"abc\" in this workspace." } }| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_input, invalid_json | The body or a parameter is wrong; the message names the field. |
| 400 | last_admin | The change would remove the workspace's last active admin. |
| 401 | unauthorized | Missing or invalid key. |
| 403 | not_in_beta, workspace_suspended, not_enabled | The API is off for this workspace, the workspace is suspended, or the feature (Sequences) is off. |
| 402 | seats_full | Every paid seat is taken (pending invites count). Add seats in the app first. |
| 404 | not_found | No such list, campaign, call, prospect, sequence, team member or invite in this workspace. |
| 409 | conflict, do_not_call | That email already has an account, or that person is on your Do Not Call list. |
| 429 | rate_limited | More than 120 requests a minute on one key. Wait the seconds in the Retry-After header. |
| 500 | internal_error | Our side. Safe to retry. |
Limits: 120 requests per minute per key, 1,000 contacts per request, 30 custom fields per contact.
Your workspace
/meThe workspace this key belongs to, its active reps, and its call outcome list. A call's outcome.id is one of these ids.
{
"workspace": { "id": "cmv...", "name": "Acme Sales" },
"reps": [ { "id": "cmv...", "name": "Dana R.", "email": "dana@acme.com", "role": "admin" } ],
"outcomes": [ { "id": "meeting_booked", "label": "Meeting booked", "kind": "..." } ]
}Lists
/lists?limit=50Your lead lists, newest first. limit is 1 to 200 (default 50).
{ "lists": [ { "id": "cmv...", "name": "October webinar", "prospects": 412, "campaign_ids": ["cmv..."], "created_at": "2026-10-20T14:02:11.000Z" } ] }/listsCreate a list, optionally with up to 1,000 contacts in the same call.
| Field | Type | Description |
|---|---|---|
name | string, required | 1 to 120 characters. |
contacts | array, optional | Up to 1,000 contact objects. |
curl -X POST https://dialer.callcloud.app/api/v1/lists \
-H "Authorization: Bearer ccp_your_key" -H "Content-Type: application/json" \
-d '{"name":"October webinar","contacts":[{"first_name":"Dana","last_name":"Reyes","company":"Acme","phone":"+15125550134","external_id":"crm_8812"}]}'{
"list": { "id": "cmv...", "name": "October webinar", "created_at": "2026-10-20T14:02:11.000Z" },
"import": { "received": 1, "created": 1, "linked_existing": 0, "dropped_no_phone": 0, "dropped_toll_free": 0, "dropped_duplicate": 0 }
}Add contacts to a list
/lists/:id/contactsAdd 1 to 1,000 contacts to an existing list. Safe to resend: a contact already in the list counts as a duplicate, not a second prospect. A campaign dialing this list picks the new prospects up on its next fill, running or not.
| Field | Type | Description |
|---|---|---|
contacts | array, required | 1 to 1,000 contact objects. |
The response is { "list_id": "...", "import": { ... } } with the same import summary as above:
| Field | Meaning |
|---|---|
received | Contacts in the request. |
created | New prospects created. |
linked_existing | Already a prospect in your workspace (same number), now also in this list. |
dropped_no_phone | No usable phone number. |
dropped_toll_free | Toll-free numbers are not dialed. |
dropped_duplicate | Repeated in the request or already in this list. |
The contact object
Every field is optional except that a contact needs a phone number to be dialed. Prospects are matched across your workspace on their primary number.
| Field | Type | Description |
|---|---|---|
first_name, last_name | string | Up to 300 characters each. |
company, title, email | string | Up to 300 characters each. |
phone | string | Primary number. E.164 (+15125550134) is safest; US numbers without +1 are accepted. |
phones | array | Up to 5 of { label: "mobile" | "home" | "office", number }. |
notes | string | Up to 5,000 characters, saved on the prospect. |
external_id | string | Your id for this person (a CRM record id). Returned on every call to them as prospect.external_id. |
custom_fields | object | Up to 30 keys (60 characters each); values are strings, numbers or booleans. Saved on the prospect and returned on every call to them. |
Campaigns
/campaignsYour campaigns (archived ones left out) and the lists each one dials.
{ "campaigns": [ { "id": "cmv...", "name": "Inbound leads", "status": "dialing", "list_ids": ["cmv..."], "created_at": "2026-10-01T15:20:00.000Z" } ] }/campaigns/:id/listsAdd a list to the lists a campaign dials. It adds, never replaces, and is safe to repeat. It never starts, stops or changes dialing.
| Field | Type | Description |
|---|---|---|
list_id | string, required | A list in this workspace. |
{ "campaign_id": "cmv...", "list_ids": ["cmv...", "cmv..."] }Sync finished calls
/callsFinished calls, oldest change first, built for syncing into a CRM. A call shows up again when its outcome or notes change after it ends, so keep polling with your last next_cursor to get only what changed.
| Field | Type | Description |
|---|---|---|
updated_since | ISO 8601 time | Start point when you have no cursor. Default: 24 hours ago. |
cursor | string | next_cursor from your previous page. Takes precedence over updated_since. |
limit | number | 1 to 100 (default 50). |
campaign_id | string | Only this campaign. |
connected_only | true | Only calls where someone picked up and talked to the rep. |
curl "https://dialer.callcloud.app/api/v1/calls?limit=100&connected_only=true" \
-H "Authorization: Bearer ccp_your_key"{ "calls": [ { ...call object... } ], "next_cursor": "MTc2MDk3...", "has_more": false }next_cursor is kept on the last page too: poll later with it and you get only newer changes. Page until has_more is false.
One call, with transcript
/calls/:idReturns { "call": { ... } }: the call object plus transcript and transcript_segments.
Calls are recorded with the rep and the prospect on separate channels, so every turn is labelled by who actually spoke, never guessed. transcript_segments has one entry per turn; start and end are seconds into the recording.
"transcript_segments": [
{ "speaker": "prospect", "start": 0.4, "end": 1.1, "text": "Hello?" },
{ "speaker": "rep", "start": 1.6, "end": 4.9, "text": "Hi, this is Sam with Acme..." }
]The call object
Every call, answered or not: who it was to, the number it went out from, the campaign it was dialed in, and links to the recording.
| Field | Type | Description |
|---|---|---|
id | string | The call id. |
created_at, updated_at | ISO time | When the call was placed, and when it last changed. |
answered_at, ended_at | ISO time or null | When it was answered and when it ended. |
direction | string | "outbound" or "inbound". |
campaign | object | { id, name } of the campaign the call was dialed in. When each list you dial is its own campaign, the name tells you which list it was. |
rep | object or null | { id, name, email } of the rep on the call. |
prospect | object | { id, external_id, attio_record_id, hubspot_contact_id, first_name, last_name, company, title, email, phone, custom_fields }. hubspot_contact_id is the HubSpot record ID of a prospect that came from HubSpot; external_id is the id you sent with the contact. |
number_dialed | string | The number that was called, E.164. |
from_number | string or null | The caller ID on the call, E.164. Outbound: your CallCloud number it was dialed from. Inbound: the prospect who called in. |
result | string | What the line did, set by the dialer, for example connected, voicemail, no_answer or busy. |
outcome | object or null | { id, label } the rep picked, from your outcome list (GET /me). |
ended_by | string or null | "Rep hung up" or "Prospect hung up". |
talk_seconds | number | Seconds the rep and prospect talked. |
notes | string or null | The rep's notes. |
ai_summary, ai_next_steps | string or null | AI summary and next steps, when AI summaries are on. |
recording_share_url | string or null | A page anyone with the link can open to play and download the recording, no CallCloud login: the same page as Copy link in the app, ready to paste into a spreadsheet or a client report. It does not expire. |
recording_url, recording_seconds | string or null | The recording audio file itself, for a system that downloads it, and its length. The link does not expire. |
transcript | string or null | Only on GET /calls/:id. One "Speaker 1:" (prospect) or "Speaker 2:" (rep) line per turn. |
transcript_segments | array or null | Only on GET /calls/:id. [{ speaker: "prospect" | "rep" | "unknown", start, end, text }], start and end in seconds. Null on older calls that only have the text transcript. |
For example, a connected call to a prospect from HubSpot:
{
"id": "cmvq81x2a00019x3k",
"created_at": "2026-11-02T15:04:11.000Z",
"updated_at": "2026-11-02T15:07:02.000Z",
"answered_at": "2026-11-02T15:04:19.000Z",
"ended_at": "2026-11-02T15:06:40.000Z",
"direction": "outbound",
"campaign": { "id": "cmvq7c0d10003x8qm", "name": "Project Acme" },
"rep": { "id": "cmvjok9sl0004x8qm", "name": "Dana Reyes", "email": "dana@acme.com" },
"prospect": {
"id": "cmvq6z1e20007x8qm",
"external_id": null,
"attio_record_id": null,
"hubspot_contact_id": "51234901",
"first_name": "Sam",
"last_name": "Lee",
"company": "Lee Property Group",
"title": "Owner",
"email": "sam@leeproperty.com",
"phone": "+14155550134",
"custom_fields": { "State": "CA", "Industry": "Real Estate" }
},
"number_dialed": "+14155550134",
"from_number": "+16505550100",
"result": "connected",
"outcome": { "id": "meeting_booked", "label": "Meeting booked" },
"ended_by": "Rep hung up",
"talk_seconds": 141,
"notes": "Wants a demo Tuesday.",
"ai_summary": "Sam agreed to a 20 minute demo on Tuesday at 2pm.",
"ai_next_steps": "[\"Send the invite for Tuesday 2pm\"]",
"recording_share_url": "https://dialer.callcloud.app/share/recording/cmvq81x2a00019x3k?s=0.Hk2Q...",
"recording_url": "https://dialer.callcloud.app/api/recordings/cmvq81x2a00019x3k?t=4f0c...",
"recording_seconds": 148
}Hot leads: call a form fill now
/hot-leadsFor warm leads that should be called the moment they arrive, like a web form fill. The contact joins the campaign, then:
- Someone is dialing that campaign and free: one rep (the one you name, else whoever has waited longest) has their ringing lines stopped, and the lead is dialed alone on their line with a Hot lead notice. Calls already in progress are never cut. Their normal dialing resumes after the call, and the lines that were stopped are called again later.
- Nobody is free: the lead goes to the front of the campaign's queue and your workspace admins get an email. It is the first call when someone presses Start.
| Field | Type | Description |
|---|---|---|
campaign_id | string, required | The campaign to call them from (GET /campaigns). |
contact | object, required | A contact object with a phone number. |
rep_email | string | Send it to this rep when they are dialing and free. |
curl -X POST https://dialer.callcloud.app/api/v1/hot-leads \
-H "Authorization: Bearer ccp_your_key" -H "Content-Type: application/json" \
-d '{"campaign_id":"CAMPAIGN_ID","rep_email":"dana@acme.com","contact":{"first_name":"Sam","last_name":"Lee","phone":"+15125550134","notes":"Requested a demo on the pricing page"}}'{ "prospect_id": "cmv...", "status": "dialing", "rep": { "email": "dana@acme.com" }, "import": { ... } }status is dialing (with the rep) or queued. A Do Not Call person answers 409 do_not_call. Calling hours still apply: outside them the lead is queued.
Clay: one row into a campaign
/clay/rowsBuilt for a Clay HTTP API column: one row per request, the row's cells as flat JSON. Any phone columns work, blank and null cells are ignored, and the answer is flat so Clay can map it to columns. Call results go back to a Clay table you connect in Settings. The full guide, with every field and the results Clay receives, is CallCloud for Clay.
| Field | Type | Description |
|---|---|---|
row_id | string | A value unique to the Clay row. Every result sent back to Clay carries it as clay_row_id. |
campaign_id | string | The campaign to join. Defaults to the one saved on the Clay integration. |
mobile_phone, direct_phone, office_phone, phone, phones | string or list | Every number for the person, up to 5. Mobiles dial first. |
<phone key>_source | string | The provider that found that number, for the phone-provider scorecard. Or one phone_source for the row. |
first_name, last_name, full_name | string | The person. full_name is split on the first space. |
company, title, email, linkedin_url, notes | string | Shown to the rep on the call card. |
custom_fields | object | Up to 30 extra values kept on the prospect. |
curl -X POST https://dialer.callcloud.app/api/v1/clay/rows \
-H "Authorization: Bearer ccp_your_key" -H "Content-Type: application/json" \
-d '{"row_id":"linkedin.com/in/samlee","first_name":"Sam","last_name":"Lee","company":"Acme","mobile_phone":"+15125550134","mobile_phone_source":"Prospeo"}'{ "status": "added", "prospect_id": "cmv...", "campaign_id": "cmc...", "campaign_name": "Clay: Series A founders", "primary_phone": "+15125550134", "phones_received": 1, "clay_row_id": "linkedin.com/in/samlee" }status is added, updated (already a prospect), no_phone, toll_free or do_not_call. A row with no callable number answers 200 with no_phone, not an error.
Meeting booked: clear their follow-ups
/follow-ups/clearA meeting was booked with someone outside CallCloud (your calendar, your CRM), so nobody on the team should still follow up with them. This closes every open follow-up for that person, whoever it is for, and takes their callback dates off. It finds every prospect in your workspace that is them: the same email, or the same HubSpot contact. It does the same as a rep picking a booked-meeting outcome on a call, which needs no API call.
Send exactly one of these:
| Field | Type | Description |
|---|---|---|
prospect_id | string | A CallCloud prospect id (GET /prospects). |
email | string | Their email address. Case does not matter. |
hubspot_contact_id | string | Their HubSpot record ID. |
hubspot_portal_id | string | Only with hubspot_contact_id, when your workspace has more than one HubSpot connected: the hub id the contact is in. |
curl -X POST https://dialer.callcloud.app/api/v1/follow-ups/clear \
-H "Authorization: Bearer ccp_your_key" -H "Content-Type: application/json" \
-d '{"email":"sam@leeproperty.com"}'{ "closed": 3, "prospects": 2, "callbacks_cleared": 1 }closed is how many follow-ups it closed, prospects how many prospects matched, and callbacks_cleared how many callback dates it took off. Safe to repeat: a second call closes nothing new. Closed follow-ups show as cleared in the app, where anyone can reopen one. No match answers 404 not_found.
Search calls
/calls/searchThe call log with filters, newest first, with the AI summary and rep notes on each. Use it to answer questions; use GET /calls to sync everything into a CRM.
| Field | Type | Description |
|---|---|---|
period | string | today, yesterday, 7d, 30d or 90d (default 7d). Ignored when from or to is given. |
from, to | YYYY-MM-DD | First and last day, inclusive, read in timezone. |
timezone | string | IANA timezone, for example America/New_York. |
rep | string | A team member: their email, or part of their name. |
campaign_id | string | Only this campaign. |
search | string | Prospect name, company, email or phone. |
connected_only | true | Only calls marked connected. |
disposition | string | Exact call result, for example connected, voicemail_left, no_answer, busy, bad_number. |
outcome | string | An outcome label, for example Meeting booked. |
min_talk_seconds | number | Only calls at least this long. |
with_transcript, with_recording | true | Only calls that have one. |
limit, page | number | limit 1 to 100 (default 25); page from 1. |
Stats
/statsDials, pickups, connects, conversations, meetings, talk time and dialing time for a date range, broken down by rep, campaign, day, call result and outcome. Same definitions as the Analytics page.
Dialing time is the minutes a rep spent dialing, on a call, or in the two-minute wrap-up after a conversation, with parallel lines counted once (three lines ringing for 20 seconds is 20 seconds). It is the number on the dialing screen and the goals card. Each by_rep entry has dialing_minutes and dialing_by_day (one entry per day in timezone); totals.dialing_minutes and each by_day entry add up the reps.
| Field | Type | Description |
|---|---|---|
period, from, to, timezone | string | The date range, as in GET /calls/search. |
rep, campaign_id | string | Narrow to one rep or campaign. |
conversation_seconds | number | Talk time a connect needs to count as a conversation. Default 30. |
curl "https://dialer.callcloud.app/api/v1/stats?period=30d&rep=dana@acme.com" \
-H "Authorization: Bearer ccp_your_key""by_rep": [
{ "rep": "Dana Ruiz", "email": "dana@acme.com", "dials": 412, "connects": 31, "talk_minutes": 96.4,
"dialing_minutes": 318.5,
"dialing_by_day": [ { "day": "2026-10-23", "dialing_minutes": 171.2 }, { "day": "2026-10-24", "dialing_minutes": 147.3 } ] }
]Prospects
/prospectsSearch prospects, most recently contacted first.
| Field | Type | Description |
|---|---|---|
query | string | Name, company, email or phone. |
status | string | new, contacted, connected, callback, bad_number or dnc. |
owner | string | Owner email or name. |
limit | number | 1 to 100 (default 25). |
/prospects/:idOne prospect: details, notes, imported fields, LinkedIn, and their last 20 calls with summaries.
Sequences
Available when Sequences is on for your workspace; otherwise these answer 403 not_enabled.
/sequencesYour email sequences: id, on or off, sending inboxes and window, each step (number, type, delay, subject), and how many people are in each status. Add ?include_archived=true for archived ones.
/filesUpload an attachment, for example a custom brochure, for emails you push. Send the bytes as content_base64 or give an https url to fetch it from; up to 10 MB. Returns a file_id.
| Field | Type | Description |
|---|---|---|
filename | string, required | The name the prospect sees, for example Acme brochure.pdf. |
content_base64 | string | The file, base64. Send this or url. |
url | string | A public https link to the file. |
content_type | string | For example application/pdf. Guessed when left out. |
/sequences/:id/emailsPush each person's own email, with attachments, into a sequence. Each person is matched to a prospect (by prospect_id, else email) or created, added to the sequence, and their email replaces that step's template copy for them only. Sending follows the sequence: its inboxes, window, pacing and stop-on-reply. Pushing again before the step runs replaces their email. Up to 50 people per call.
| Field | Type | Description |
|---|---|---|
people | array, required | One object per person. |
people[].prospect_id or email | string | Who it is for. A new prospect is created from email when there is no match. |
people[].first_name, last_name, company, title, phone, notes | string | Used when a new prospect is created. |
people[].subject, body, body_html | string | The email. Merge fields like {{first_name}} work; body_html wins over body. |
people[].step | number | Which email step this is. Omit to fill email steps in order. |
people[].file_ids | array | Attachments from POST /files, up to 10 and 15 MB together. |
people[].emails | array | Several emails for one person, one per email step, each with the fields above. |
curl -X POST https://dialer.callcloud.app/api/v1/sequences/SEQUENCE_ID/emails \
-H "Authorization: Bearer ccp_your_key" -H "Content-Type: application/json" \
-d '{"people":[{"email":"dana@acme.com","first_name":"Dana","subject":"Your custom plan","body":"Hi {{first_name}}, the plan we discussed is attached.","file_ids":["FILE_ID"]}]}'Team members
Add and remove people on your team. A key acts as a workspace admin here, with the same rules as Settings, Team.
/teamEvery member (with role admin, manager or member, and whether they are active), pending invites, and seat usage.
/team/membersAdd someone. People set their own password, so this creates an invite and returns its join_url, good for 7 days, for you to send them. They join the team when they open it.
| Field | Type | Description |
|---|---|---|
email | string, required | Their email address. |
role | string | member (default), manager or admin. |
curl -X POST https://dialer.callcloud.app/api/v1/team/members \
-H "Authorization: Bearer ccp_your_key" -H "Content-Type: application/json" \
-d '{"email":"jordan@acme.com","role":"member"}'{ "invite": { "id": "INVITE_ID", "email": "jordan@acme.com", "role": "member", "join_url": "https://app.callcloud.app/join/...", "expires_at": "2026-11-12T18:00:00.000Z" } }Inviting the same email again replaces the earlier invite. Answers 402 seats_full when every paid seat is taken (pending invites count), and 409 conflict when the email already has an account.
/team/members/:idRemove a member (the id from GET /team). They are signed out at once; their calls and notes stay. The last active admin cannot be removed (400 last_admin).
/team/invites/:idCancel a pending invite. Its join link stops working.
Questions or something missing? Email richard@callcloud.app.