Create an outbound call to initiate a phone call
Create an outbound call to initiate a phone call from a configured phone number to a target number.Documentation Index
Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
Use this file to discover all available pages before exploring further.
sk_). Format: Bearer {your-api-key}+1234567890). For Taiwan phone numbers, use local format without the +886 country code prefix (e.g., 0912345678).| Status Code | Description |
|---|---|
| 400 | Missing required fields (fromNumber or toNumber) or invalid request body |
| 401 | Invalid authentication (API key is invalid or missing) |
| 404 | The given phone number (fromNumber) is not configured for outbound calls or the outbound status is not active |
| 409 | The target phone number (toNumber) is already in the call queue |
| 500 | Internal server error |
fromNumber must be configured in your project’s SIP trunking settings with:
toNumber can only have one active call in the queue at a time. If you attempt to create a call to a number that’s already queued, you’ll receive a 409 error.
dynamicVariables to pass custom data to your call flow. These variables are available throughout the call session and can be used for personalization or call routing logic.