Retrieve a CDR
Changed onReturns the call detail record for the call identified by call_id.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/cdrs/{call_id}
- AuthHTTP bearer
Path parameters
The unique ID of the call.
Query parameters
When true, includes the call transcription in the response.
Response
Returns the CDR.
Example response
{
"date": "2023-08-21T06:43:36.000Z",
"from": "14302287001",
"to": "33170363950",
"duration": 6,
"destination": "France",
"per_minute": "0.027",
"recording_url": "https://api.wavix.com/v1/recordings/recording_id",
"charge": "0.162",
"sip_trunk": "32882",
"forward_fee": "0.0",
"uuid": "99df5ffd-962a-410f-bcce-d08f1f7f328c",
"call_id": "99df5ffd-962a-410f-bcce-d08f1f7f328c",
"parent_uuid": "99df5ffd-962a-410f-bcce-d08f1f7f328c",
"parent_call_id": "99df5ffd-962a-410f-bcce-d08f1f7f328c",
"answered_by": "human",
"transcription": {
"uuid": "40d6f322-048d-490b-95c7-4fc5c76a74db",
"url": "https://api.wavix.com/v1/cdrs/40d6f322-048d-490b-95c7-4fc5c76a74db/transcription?appid=secret"
}
}Changes
- breaking
added the pattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$to thepathrequest parametercall_id - breaking
for the
pathrequest parametercall_id, the format changed from no format touuid - breaking
the response's body type changed from no type to
objectfor status - info
removed from the response body
allOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info