Getting Started
- GETTING STARTED
- CONCEPTS
- INTERCONNECTION GUIDES
Troubleshooting
- GUIDES
API Reference
- Overview
- Request
- Response
- Call
- Trunk
- Credentials
- Origination URI
- IP Access Control List
Call
Get call detail record (CDR) of a call
Copy
Ask AI
curl -i --user AUTH_ID:AUTH_TOKEN \
https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/Call/{call_uuid}/
Copy
Ask AI
{
"call_uuid": "90b6eb07-796c-4d86-a4fd-44ed11667ddb",
"from_number": "+912235328936",
"to_number": "+919943720205",
"call_direction": "outbound",
"call_duration": 4,
"bill_duration": 4,
"end_time": "2022-12-06 07:02:00",
"hangup_cause_name": "normal_hangup",
"hangup_source": "carrier",
"total_rate": "0.03000",
"total_amount": "0.00200",
"initiation_time": "2022-12-06 07:01:48",
"answer_time": "2022-12-06 07:01:56",
"trunk_domain": "93667062664669661.ap-south-1.zt.plivo.com",
"from_country": "IN",
"to_country": "IN",
"transport_protocol": "udp",
"srtp": false,
"hangup_cause_code": 3000,
"secure_trunking": false,
"secure_trunking_rate": "0.00000",
"stir_verification": "not applicable",
"attestation_indicator": "null"
}
This method lets you retrieve the call detail record (CDR) of a call using a call_uuid.
API Endpoint
GET
Copy
Ask AI
https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/Call/{call_uuid}/
Arguments
No arguments need to be passed.
Returns
Returns the call detail record of the call identified using the given call UUID as the Call object.
Copy
Ask AI
curl -i --user AUTH_ID:AUTH_TOKEN \
https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/Call/{call_uuid}/
Copy
Ask AI
{
"call_uuid": "90b6eb07-796c-4d86-a4fd-44ed11667ddb",
"from_number": "+912235328936",
"to_number": "+919943720205",
"call_direction": "outbound",
"call_duration": 4,
"bill_duration": 4,
"end_time": "2022-12-06 07:02:00",
"hangup_cause_name": "normal_hangup",
"hangup_source": "carrier",
"total_rate": "0.03000",
"total_amount": "0.00200",
"initiation_time": "2022-12-06 07:01:48",
"answer_time": "2022-12-06 07:01:56",
"trunk_domain": "93667062664669661.ap-south-1.zt.plivo.com",
"from_country": "IN",
"to_country": "IN",
"transport_protocol": "udp",
"srtp": false,
"hangup_cause_code": 3000,
"secure_trunking": false,
"secure_trunking_rate": "0.00000",
"stir_verification": "not applicable",
"attestation_indicator": "null"
}
Copy
Ask AI
curl -i --user AUTH_ID:AUTH_TOKEN \
https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/Call/{call_uuid}/
Copy
Ask AI
{
"call_uuid": "90b6eb07-796c-4d86-a4fd-44ed11667ddb",
"from_number": "+912235328936",
"to_number": "+919943720205",
"call_direction": "outbound",
"call_duration": 4,
"bill_duration": 4,
"end_time": "2022-12-06 07:02:00",
"hangup_cause_name": "normal_hangup",
"hangup_source": "carrier",
"total_rate": "0.03000",
"total_amount": "0.00200",
"initiation_time": "2022-12-06 07:01:48",
"answer_time": "2022-12-06 07:01:56",
"trunk_domain": "93667062664669661.ap-south-1.zt.plivo.com",
"from_country": "IN",
"to_country": "IN",
"transport_protocol": "udp",
"srtp": false,
"hangup_cause_code": 3000,
"secure_trunking": false,
"secure_trunking_rate": "0.00000",
"stir_verification": "not applicable",
"attestation_indicator": "null"
}
Assistant
Responses are generated using AI and may contain mistakes.