Skip to main content

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​

MethodEndpointDescription
POST/v1/calls/outboundStart an outbound call
GET/v1/calls/:idGet a single call, including its transcript
POST/v1/calls/:id/analyzeRe-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​

MethodEndpointDescription
POST/v1/assistants/:id/knowledge-baseAdd 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.