AloAi outbound call API
Have an AloAi voice agent call a contact.
Start a call from an AloAi voice agent to a contact, triggered by your own system: a new lead, a missed appointment, a form fill. You pick the agent and the contact, and optionally the line it calls from. If the number isn't a contact yet, Aloware creates one, and the call lands in the contact's history.
- Method: POST
- Auth: your account API token, in the body as
api_token - Format: JSON in, JSON out
- Required:
api_token,bot_id, and who to call (to,contact_phone_numberorcontact_id)
Billed: AloAi calls through the API count as automated, paid usage under Aloware's billing terms.
Endpoint
Fields
Send one of to, contact_phone_number or contact_id. Leave the line out and the call comes from the bot's default outbound line.
Request examples
With phone numbers
An existing contact, from a line
From the bot's default line
Responses
202: call started
429: at the limit
Your account already has as many AloAi outbound calls running as it's allowed. No call is queued. The Retry-After header says how many seconds to wait before you try again.
422: not started
The errors object names each field that is missing or wrong.
Safe retries
This endpoint takes an optional Idempotency-Key header, so a retry after a timeout runs only once. See Safe retries.
Put your own Aloware API token in place of [API_TOKEN].
Need another endpoint?
For other API functions or any question about this one, email support@aloware.com with what you're trying to do.
Our support team can help you set this up.