
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "agentphone",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"id": "{id}",
"status": "{status}",
"agentId": "{agentId}",
"endedAt": "{endedAt}",
"toNumber": "{toNumber}",
"agentName": "{agentName}",
"direction": "{direction}",
"startedAt": "{startedAt}",
"fromNumber": "{fromNumber}",
"phoneNumber": "{phoneNumber}",
"transcripts": [ 1 item ],
"recordingUrl": null,
"phoneNumberId": "{phoneNumberId}",
"durationSeconds": 1,
"recordingAvailable": true
}
}
Example values, built from the documented fields.
Free
Calls cost nothing.
About this endpoint
Get call details and transcript. Poll until status is completed or failed.
Path parameters
callIdrequiredstringGoes in the path: replace {callId} in the request.Response types
idstringstatusstringagentIdstringendedAtstringtoNumberstringagentNamestringdirectionstringstartedAtstringfromNumberstringphoneNumberstringphoneNumberIdstringdurationSecondsnumberrecordingAvailablebooleanMore 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
- Make CallPOST/v1/calls$0.10 per callFixed
- 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