On-Demand Calls
Place a call for one contact through a voice campaign, and cancel it before it is dialed.
Agents
Read and replace an agent’s guidelines, publish the agent, and see which version is live.
Base URL
Every path in this reference starts from your API base URL. Copy it from Studio: open Manage → Campaigns, open any campaign, go to its On-Demand tab and select API reference. The base URL is the first field in the drawer, with a copy button.Authentication
Send an API key in theX-API-Key header of every request. Create keys in Studio at Manage → API Keys. See Authentication.
Make Your First Request
Read an agent’s guidelines. Copy the agent’s ID with Copy ID in the agent’s header in Studio, then run:200 with "success": true means your key and base URL work.
Requests and Responses
Request bodies are JSON, sent withContent-Type: application/json. Responses are JSON. A successful one wraps its result in data:
4xx or 5xx status and a message saying what went wrong. See Errors and Rate Limits.