Authorization: ********************
{
"search_type": "STANDARD",
"call_types": [
"INBOUND"
],
"customer_number": "string",
"search_scope": "ALL",
"call_sid": 0,
"caller_id": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/p3api/listextendedcallhistory' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"search_type": "STANDARD",
"call_types": [
"INBOUND"
],
"customer_number": "string",
"search_scope": "ALL",
"call_sid": 0,
"caller_id": "string"
}'
{
"group_sid": 0,
"call_type": "INBOUND",
"call_sid": 0,
"customer_number": "string",
"phone": "string",
"date": "string",
"result": 0,
"length": 0,
"cost": "string",
"keys": "string",
"call_details": {
"contact_field_data": [
{
"field_label": "string",
"field_value": "string",
"is_phone": true
}
],
"agent_call_activity_details": [
{
"agent_sid": 0,
"agent_name": "string",
"agent_session_sid": "string",
"hunt_group_sid": "string",
"hunt_group_name": "string",
"agent_call_cost": "string",
"agent_wait_duration": "string",
"call_wait_duration": "string",
"hold_duration": "string",
"manual_duration": "string",
"pause_duration": "string",
"preview_duration": "string",
"suspended_duration": "string",
"talk_duration": "string",
"transfer_duration": "string",
"wrap_up_duration": "string",
"agent_call_sid": "string",
"hunt_group_type": "UNCONNECTED"
}
],
"agent_call_responses": [
{
"agent_call_response_sid": 0,
"agent_call_sid": "string",
"key": "string",
"value": "string",
"order": 0
}
]
},
"linkback_length": 0,
"is_call_recorded": true,
"recording_filename": "string",
"start_date": "1s",
"country_sid": 0
}