API Reference
:::tip Developer reference
For the technical details (payloads, endpoints, field reference), see the developer reference: API Reference.
:::
A small REST API for triggering outbound calls and pulling call results programmatically.
Authentication
Every request needs a Bearer token. Create one from API Keys.
curl https://your-domain.com/v1/calls/CALL_ID \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
warning
Keep your API key secret. Do not expose it in frontend code or public repositories.
Calls
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/calls/outbound | Start an outbound call |
| GET | /v1/calls/:id | Get a single call, including its transcript |
| POST | /v1/calls/:id/analyze | Re-run analysis (summary, sentiment, extraction) on a completed call |
note
There's no endpoint to list every call — use the dashboard's Call History for browsing and filtering.
# Start an outbound call
curl -X POST https://your-domain.com/v1/calls/outbound \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"assistant_id": "your-assistant-id",
"to_number": "+919876543210"
}'
Assistants
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/assistants/:id/knowledge-base | Add content to an assistant's Knowledge Base |
note
There's no API for creating, listing, or editing assistants themselves yet — that's done from the dashboard.