
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "agentphone",
"path": "/v1/calls",
"method": "POST",
"body": {
"agentId": "",
"toNumber": ""
}
}'
{
"success": true,
"data": {
"id": "{id}",
"status": "{status}",
"agentId": "{agentId}",
"toNumber": "{toNumber}",
"direction": "{direction}",
"startedAt": "{startedAt}",
"fromNumber": "{fromNumber}",
"phoneNumberId": "{phoneNumberId}"
}
}
Example values, built from the documented fields.
$0.10per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Make an outbound voice call. Include systemPrompt for autonomous AI conversation, omit for webhook-driven mode.
Body parameters
agentIdrequiredstringAgent placing the call.toNumberrequiredstringRecipient in E.164 format.systemPromptstringInstructions for autonomous mode.initialGreetingstringFirst line the AI says.fromNumberIdstringSpecific number to call from.voicestringOverride agent default voice.Response types
idstringstatusstringagentIdstringtoNumberstringdirectionstringstartedAtstringfromNumberstringphoneNumberIdstringMore from AgentPhone
- Set Agent WebhookPOST/v1/agents/{agentId}/webhookFree
- Detach Number from AgentDELETE/v1/agents/{agentId}/numbers/{numberId}Free
- Get ConversationGET/v1/conversations/{conversationId}Free
- List VoicesGET/v1/agents/voicesFree
- Update AgentPATCH/v1/agents/{agentId}Free
- List Agent CallsGET/v1/agents/{agentId}/callsFree
- Send SMSPOST/v1/messages$0.03 per callFixed
- List MessagesGET/v1/numbers/{numberId}/messagesFree
- Get AgentGET/v1/agents/{agentId}Free
- Release NumberDELETE/v1/numbers/{numberId}Free
- Get Agent WebhookGET/v1/agents/{agentId}/webhookFree
- Attach Number to AgentPOST/v1/agents/{agentId}/numbersFree