channels
voice
calls
call-legs
calls-management
Get call history
Get a single call history. Call history retention period is 5 days.
get/calls/1/calls/{callId}/history
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or API key in header Authorization
- or HTTP basic
- or OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
Path parameters
callIdstring required
Call ID.
Response
Success
Example response
{
"callId": "d8d84155-3831-43fb-91c9-bb897149a79d",
"endpoint": {
"phoneNumber": "41792030000",
"type": "PHONE"
},
"from": "44790123456",
"to": "44790987654",
"parentCallId": "3ad8805e-d401-424e-9b03-e02a2016a5e2",
"machineDetection": {
"detectionResult": "HUMAN",
"confidenceRating": {
"HUMAN": 0.95,
"MACHINE": 0,
"MUSIC": 0,
"RINGING": 0,
"NOISE": 0.05,
"SILENCE": 0.01,
"OTHER": 0.02
}
},
"ringDuration": 3,
"callsConfigurationIds": [
"a1b06592152e08646b08c057"
],
"conferenceIds": [
"066675c6-0db6-0db9-b032-031964d09af4"
],
"duration": 5,
"errorCode": {
"id": 10000,
"name": "NORMAL_HANGUP",
"description": "The call has ended with hangup initiated by caller, callee or API"
},
"customData": {
"key1": "value1",
"key2": "value2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.