Integrate CallAI's omnichannel capabilities directly into your CRM, ERP, or custom applications using our robust RESTful JSON API.
All API requests require authentication via an API Key. You can generate an API Key from your CallAI Dashboard under Settings > Developers.
Pass the API key in the Authorization header as a Bearer token:
To ensure platform stability, all endpoints are rate-limited to 100 requests per
minute per IP/Account by default. Status code 429 Too Many Requests
will be returned if limits are exceeded.
Dispatch an outbound AI voice call to a designated phone number.
| Field | Type | Description |
|---|---|---|
agent_id |
String | Unique identifier of the AI agent handling the call. |
to_number |
String | Destination phone number in international E.164 format. |
metadata |
Object | (Optional) Key-value pairs providing context to the agent (e.g., customer name, order ID). |
Send a templated or free-form WhatsApp message using an AI agent.
| Field | Type | Description |
|---|---|---|
agent_id |
String | Agent assigned to respond to replies from this message. |
to_number |
String | Destination phone number in international format. |
message_type |
String | Either template or text. |
content |
String/Obj | The message text or the template object parameters. |
Webhooks allow your application to receive real-time notifications when events occur in CallAI. For instance, when a call finishes, CallAI can POST the call summary and recording URL to your server.
Webhooks are configured via the dashboard. Make sure your server successfully responds with a
200 OK status immediately upon receiving a webhook.