Read call state
Authentication
An organisation-owned key whose secret starts ra_org_. The Owner or an Admin of an organisation that Rasen has invited makes it in the app; no API operation makes, changes, rotates or revokes a key. On a workspace operation send the workspace ID in the Rasen-Workspace header; without it the answer is 400 invalid_request with details.field Rasen-Workspace. A workspace outside the organisation or outside the key’s workspace list is 404 not_found. An organisation that is not invited gets 403 organisation_api_not_enabled.
Path parameters
Headers
The ID of the workspace that this operation acts in. It must be a workspace of the key’s organisation and in the key’s workspace list. A missing, empty or malformed value is 400 invalid_request with details.field Rasen-Workspace; a workspace outside the organisation or the key’s workspace list is the hidden 404 not_found.
Response headers
Response
Canonical call lifecycle value; clients must tolerate new values. Terminality is given separately. Known values: admitted, active, evidence_pending, complete, incomplete, aborted.
Open response vocabulary. Preserve unknown values; never assume they mean success.
Safe registered call-end reason. Since 1.14.0 a phone or agent-session call that the agent ended is agent_hangup (before, it was often completed), and an answered call whose line failed is line_dropped. Preserve a value you do not know.
The carrier’s outcome for the outbound dial that placed this call: dialing until the carrier reports, then its latest report. Null when no carrier dial placed the call (inbound, browser and test calls). Open response vocabulary. Preserve unknown values; never assume they mean success.
The SIP response code the carrier gave for the dial, when it gave one (for example 480 temporarily unavailable, 486 busy).
Open response vocabulary. Preserve unknown values; never assume they mean success.
Open response vocabulary. Preserve unknown values; never assume they mean success.
Number used for this call; null for non-phone calls.
Open response vocabulary. Preserve unknown values; never assume they mean success.
The name of the destination the call’s last transfer went to, set only when the call ended transferred or transfer_failed. Never the destination’s number or address.
The time the caller spent connected to the transfer destination, as the carrier reported it; null when no transfer connected or the time is not reported yet.