cURL
curl --request POST \ --url https://api.recepta.ai/api/v1/api/calls/outbound \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "toNumber": "+15551234567", "fromNumber": "+15559876543", "agentId": "agent_abc123", "metadata": {} } '
{ "success": true, "message": "Call initiated successfully", "data": { "call": { "id": "69af1467f97caa0d0e1e13e2", "retellId": "call_abc123", "callType": "PHONE_CALL", "direction": "INBOUND", "fromNumber": "+19032466065", "toNumber": "+19034851458", "status": "ENDED", "startTimestamp": "2026-03-09T18:41:43.188Z", "endTimestamp": "2026-03-09T18:41:49.664Z", "durationMs": 6476, "companyId": "69053acd6e4cdf19cb778090", "createdAt": "2023-11-07T05:31:56Z" } } }
Initiate an outbound phone call to a number using your Recepta agent. Permission: calls:create
calls:create
Your Recepta API key (starts with rcp_)
rcp_
Destination phone number (E.164)
"+15551234567"
Your Recepta phone number (E.164)
"+15559876543"
Agent to use (optional, defaults to company agent)
"agent_abc123"
Custom metadata to attach to the call
Call initiated
true
"Call initiated successfully"
Show child attributes