Originate a call
Connect an existing extension to a destination number for CRM click-to-call workflows.
Account availability: These examples describe the A1PBX version 7 interface. Confirm the endpoint, header authentication, response format, and record permissions for your assigned account before production use.
Places a real call: This GET request changes call state and may incur calling charges. Run it only on an explicit user action. Do not prefetch it, follow it as a browser link, or retry automatically after a timeout.
Request
Connect an existing extension to a destination number for CRM click-to-call workflows.
/originateA1PBX APIParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
extension | string | Yes | Existing extension authorized for this API account. |
destination | string | Yes | Destination permitted by your account calling policy. |
Examples
curl --fail-with-body --get \
"https://$A1PBX_ACCOUNT_ID.a1routes.com/app/api/7/originate" \
--header "Authorization: Basic $A1PBX_API_KEY" \
--data-urlencode "extension=$EXTENSION" \
--data-urlencode "destination=$DESTINATION"
Response
Confirm the response format and call identifier behavior for your deployment. An accepted request does not establish that the destination answered. If a request times out, check the call outcome before attempting another call.
Integration notes
Use an existing permitted extension and destination. This reference does not expose advanced dial strings, feature codes, call interception, or system commands. Caller identity and routing remain governed by your account configuration.
See authentication, pagination, and error handling.