Get call details
Retrieves detailed information about a call using its UUID. Requires API key authentication and verifies the call belongs to the customer.
Call Status Polling:
The call outcome field can have three values:
- Pending: Call is dialing or in progress
- Failure: Call was not picked up or unable to dial
- Completed: Call was answered
You can poll this endpoint to check the call status. It is recommended to poll every 2 minutes until the outcome is either “Completed” or “Failure”.
Authentication
X-API-Keystring
API key for authentication. Example: raya_ABCD1234567890abcdef
Path parameters
id
The UUID of the call
Response
Call details retrieved successfully
uuid
caller_no
Phone number of the caller
to_number
Phone number to which the call was made
in_did
DID on which the call was received
out_did
DID on which the call was made
call_transcript
Call transcript as JSON object
call_recording_url
outcome
Call outcome status. "Pending" means the call is dialing or in progress. "Failure" means the call was not picked up or unable to dial. "Completed" means the call was answered.
Allowed values:
call_start_time
Call start time in UTC (ISO 8601)
call_end_time
Call end time in UTC (ISO 8601)
call_duration
agent_id
agent_args
Agent arguments as JSON object
timezone
call_output
Call output as JSON object
created_at
Timestamp when the call record was created (UTC, ISO 8601)
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error

