/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: HeaderResponse 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.1
Create the campaign. Send The response includes the
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.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 To call only during a time window, send
POST /public/v1/campaigns/{campaignId}/launch. Your subscription must be active and have minutes remaining.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.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:Create a campaign from a CSV file
SendPOST /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.
Change or delete a campaign
UsePATCH /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.
