Skip to main content
The Callin API lets you programmatically integrate AI voice agents into your product. Use it to create and configure agents, manage their knowledge bases, run call campaigns, manage contacts, and retrieve call logs and transcripts — all over a simple REST interface. Base URL
All endpoints are rooted under /public, for example:

Authentication

All endpoints (except the health check) require an API key. To get yours, click your name at the bottom of the left sidebar to open your Profile, then open the API Keys tab. Pass it in either of these ways: Header
Bearer token
You can regenerate your key from the same API Keys tab. Regenerating immediately invalidates your previous key, so update it everywhere it’s in use first.
The health check endpoint GET /public/health doesn’t need an API key. Use it to check your connection.

Response format

All responses are JSON and follow a consistent envelope:

Try it interactively

Every endpoint page includes an API playground. Select a server, add your API key, and fire live requests directly from the docs — no separate tool needed.

What you can build

  • AI voice agents — create, update, and manage agents and their behavior
  • Knowledge bases — upload and manage the content your agents use during calls
  • Campaigns — create, schedule, launch, and stop outbound call campaigns
  • Contacts — create, import, and manage the contacts your agents call
  • Call logs & transcripts — retrieve records, transcripts, and recordings for every call

Run a call campaign with the API

A campaign calls a list of contacts with one of your AI agents. You can create, launch, schedule, stop, and monitor campaigns entirely through the API.
The agent must already have a phone number assigned. Campaigns can’t be saved for an agent without one.
Common mistake: phone numbers must be in E.164 format: a +, the country code, and the number, with no spaces. For example, +14155552671.
1
Create the campaign. Send POST /public/v1/campaigns with a name, the agentId of your agent, and the contacts to call. Each contact needs a phoneNumber. name and email are optional.
The response includes the campaignId. You need it for the next steps. Without launch or scheduled, the campaign is saved as a draft.
agentId must be the ID of an agent. Squads can’t run campaigns: if you send a squad ID, you get an Agent not found error.
2
Launch it now, or schedule it. To start calling right away, send POST /public/v1/campaigns/{campaignId}/launch. Your subscription must be active and have minutes remaining.
To call only during a time window, send POST /public/v1/campaigns/{campaignId}/schedule with startTime, endTime, and an IANA timezone. Write startTime and endTime as a date and time in that timezone, like 2026-12-01T09:00:00. The start must be in the future and before the end. Calls start at startTime. After endTime, the campaign pauses until startTime the next day.
3
Check the calls. Send GET /public/v1/campaigns/{campaignId}/calls to see each call with its status, duration, and number of follow-ups. Filter with status and page through results with cursor and pageSize.
4
Stop it if needed. Send POST /public/v1/campaigns/{campaignId}/stop. A waiting or paused campaign stops immediately. A running campaign stops before the next contact.
You can launch or schedule in the same request that creates the campaign. Add "launch": true to call right away, or "scheduled": true with startTime, endTime, and timezone.
Extra fields in a contact, like plan in the example above, are passed to the agent as dynamic variables. Use them in the prompt to personalize each call.
A stopped or paused campaign resumes from the contact where it stopped when you launch or schedule it again.

Follow-up calls

Follow-up calls try again when a call ends as busy or no answer. Add these fields when you create or update the campaign:
This example tries again 1 hour after the first call, and again 24 hours later.

Create a campaign from a CSV file

Send POST /public/v1/campaigns/csv as multipart/form-data with the file, name, and agentId. The file must be a UTF-8 .csv. If your columns have other names, set phoneColumn, nameColumn, or emailColumn. launch, scheduled, and the follow-up fields work the same way. In a CSV, followUpIntervals is a comma-separated list, like 60,1440.
If any row in the CSV is not valid (an invalid phone number or email, or a duplicate number), the whole file is rejected. Nothing is saved or called. The error response lists the rows to fix.
In the CSV, spaces and punctuation in phone numbers are removed, and a leading 00 becomes +.

Change or delete a campaign

Use PATCH /public/v1/campaigns/{campaignId} to change the name, agent, contacts, schedule, or follow-up settings. Use DELETE /public/v1/campaigns/{campaignId} to delete it. Neither works while the campaign is running: stop it first.