Response
Call
Multiparty call
- Overview
- The Multiparty object
- Activate a multiparty call
- Retrieve a multiparty call
- Retrieve all multiparty calls
- End a multiparty call
- Participants
- Multiparty call recording
Conference
Audio Stream
Verified Caller ID
Endpoint
Call
Get call detail record (CDR) of a call
Copy
Ask AI
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.get(
call_uuid='10f0cb68-7533-45ed-acb5-87ceac29ee48', )
print(response)
Copy
Ask AI
{
"answer_time": "2022-10-12 21:57:47+05:30",
"api_id": "52cd2e1d-2bfd-11ec-a7bd-0242ac110005",
"bill_duration": 1,
"billed_duration": 1,
"call_direction": "outbound",
"call_duration": 1,
"call_state": "ANSWER",
"call_uuid": "5607532d-5037-4066-befc-a8b40218dd4f",
"conference_uuid": null,
"end_time": "2022-10-12 21:57:47+05:30",
"from_number": "+12025551111",
"hangup_cause_code": 8011,
"hangup_cause_name": "Invalid Answer XML",
"hangup_source": "Error",
"initiation_time": "2022-10-12 21:57:40+05:30",
"parent_call_uuid": null,
"resource_uri": "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/",
"stir_verification": "Not Applicable",
"to_number": "sip:sam9461399937766203278@phone.plivo.com",
"total_amount": "0.01667",
"total_rate": "1.00000",
"Stir_attestation":"A",
"voice_network_group": "",
"source_ip": "92.168.0.1"
}
This method lets you retrieve the call detail record (CDR) of a call.
API Endpoint
GET
Copy
Ask AI
https://api.plivo.com/v1/Account/{auth_id}/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
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.get(
call_uuid='10f0cb68-7533-45ed-acb5-87ceac29ee48', )
print(response)
Copy
Ask AI
{
"answer_time": "2022-10-12 21:57:47+05:30",
"api_id": "52cd2e1d-2bfd-11ec-a7bd-0242ac110005",
"bill_duration": 1,
"billed_duration": 1,
"call_direction": "outbound",
"call_duration": 1,
"call_state": "ANSWER",
"call_uuid": "5607532d-5037-4066-befc-a8b40218dd4f",
"conference_uuid": null,
"end_time": "2022-10-12 21:57:47+05:30",
"from_number": "+12025551111",
"hangup_cause_code": 8011,
"hangup_cause_name": "Invalid Answer XML",
"hangup_source": "Error",
"initiation_time": "2022-10-12 21:57:40+05:30",
"parent_call_uuid": null,
"resource_uri": "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/",
"stir_verification": "Not Applicable",
"to_number": "sip:sam9461399937766203278@phone.plivo.com",
"total_amount": "0.01667",
"total_rate": "1.00000",
"Stir_attestation":"A",
"voice_network_group": "",
"source_ip": "92.168.0.1"
}
Copy
Ask AI
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.calls.get(
call_uuid='10f0cb68-7533-45ed-acb5-87ceac29ee48', )
print(response)
Copy
Ask AI
{
"answer_time": "2022-10-12 21:57:47+05:30",
"api_id": "52cd2e1d-2bfd-11ec-a7bd-0242ac110005",
"bill_duration": 1,
"billed_duration": 1,
"call_direction": "outbound",
"call_duration": 1,
"call_state": "ANSWER",
"call_uuid": "5607532d-5037-4066-befc-a8b40218dd4f",
"conference_uuid": null,
"end_time": "2022-10-12 21:57:47+05:30",
"from_number": "+12025551111",
"hangup_cause_code": 8011,
"hangup_cause_name": "Invalid Answer XML",
"hangup_source": "Error",
"initiation_time": "2022-10-12 21:57:40+05:30",
"parent_call_uuid": null,
"resource_uri": "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/",
"stir_verification": "Not Applicable",
"to_number": "sip:sam9461399937766203278@phone.plivo.com",
"total_amount": "0.01667",
"total_rate": "1.00000",
"Stir_attestation":"A",
"voice_network_group": "",
"source_ip": "92.168.0.1"
}
Assistant
Responses are generated using AI and may contain mistakes.