Skip to navigation

Get call details

View as Markdown

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

idstringRequired
The UUID of the call

Response

Call details retrieved successfully
uuidstringOptional
caller_nostringOptional
Phone number of the caller
to_numberstringOptional
Phone number to which the call was made
in_diddoubleOptional
DID on which the call was received
out_diddoubleOptional
DID on which the call was made
call_transcriptmap from strings to anyOptional
Call transcript as JSON object
call_recording_urlstringOptional
outcomeenumOptional
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_timedatetimeOptional

Call start time in UTC (ISO 8601)

call_end_timedatetimeOptional

Call end time in UTC (ISO 8601)

call_durationdoubleOptional
agent_idstringOptionalformat: "uuid"
agent_argsmap from strings to anyOptional
Agent arguments as JSON object
timezonestringOptional
call_outputmap from strings to anyOptional
Call output as JSON object
created_atdatetimeOptional

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