Retrieve a Call
Retrieves one call by SID so you can inspect a known call’s progress and outcome. Use List all Calls to discover SIDs. The Calling API is command-oriented and uses its own call identifiers.
Permissions
The API token used to authenticate must have the following scope enabled to make a successful request: Calling.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Path parameters
Response
The formatted number that received the call. Alias for formatted_to.
The formatted number that initiated the call. Alias for formatted_from.
The duration, in seconds, of the call: end_time minus start_time, rounded up to the next whole second.
It includes ringing time, so it’s longer than the time the call was connected and usually longer than a
recording of the call. For a call still in progress, it’s the time elapsed so far; before the call starts, it’s 0.
The direction of the call.
inbound: inbound calls.outbound-api: calls launched through the REST API.outbound-dial: calls launched through the Dial verb.
Who/what the call was answered by.
A Map of available sub-resources.
The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, where 4.5 is the best score. A call whose audio stream received no inbound packets also reports 4.5, so check audio_in_media_packet_count to tell that case from a clean call. Returned as a decimal string. Null if the call has no quality measurement, such as a call that ended before an audio stream was set up.
The average round-trip time for audio in milliseconds, in steps of 10.
The minimum round-trip time for audio in milliseconds, in steps of 10.
The maximum round-trip time for audio in milliseconds, in steps of 10.
Not populated. Always null; use audio_out_media_packet_count for the number of audio packets sent.
Not populated. Always 0 when the call has quality statistics.