Calls
Backward-compatible alias of POST /api/ext/call/make-call — creates an outbound phone call with identical request and response shapes. Specify the handling agent (agent_id), the originating number (call_from), and a destination (call_to); the response returns call_ids. Prefer the canonical /api/ext/call/make-call for new integrations; this path exists only for compatibility with older clients.
Legacy path. Kept for existing integrations. New integrations should use Create outbound call.
curl --request POST \
--url 'https://api.nabrah.ai/api/ext/make-call' \
--header 'X-API-Key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"agent_id": "00000000-0000-4000-8000-000000000000",
"call_from": "+966510000000",
"call_to": "+966500000000"
}'{
"call_ids": [
"00000000-0000-4000-8000-000000000000"
]
}Same behavior, same request body (CreateOutboundCallRequest), same response (call_ids). Use the canonical /api/ext/call/make-call path going forward.
Originating number and destination number. call_to accepts a single number or a list of destinations (max 100) for batch dialing.
call_fromcall_toOptional context injected for single calls, prompt template variables, and labels used later for filtering in search/analytics/export.
injected_datavariablestagsResponse call_ids is always a list — one id per created call.
X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
Place one outbound call to a single number.
{
"agent_id": "00000000-0000-4000-8000-000000000000",
"call_from": "+966510000000",
"call_to": "+966500000000"
}Successful Response
application/json
Validation Error
application/json