channels
voice
calls
dialog-calls
dialog-management

Get dialogs history

Get dialogs history with pagination. Dialogs history retention period is 5 days.

get/calls/1/dialogs/history

Request

  • Base URL
    https://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 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token

Query parameters

callsConfigurationIdstring

Calls Configuration ID.

applicationIdstring

Application ID.

state'CREATED' | 'PRE_ESTABLISHED' | 'ESTABLISHED' | 'FINISHED' | 'FAILED' | 'TRANSFERRING'

Dialog state.

parentCallIdstring

Parent call ID.

childCallIdstring

Child call ID.

startTimeAfterstring date-time

Date and time for when the dialog has been created. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSS+ZZZZ.

endTimeBeforestring date-time

Date and time for when the dialog has been finished. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSS+ZZZZ.

pageinteger

Results page to retrieve (0..N).

sizeinteger

Number of records per page.

Response

Success

Example response

{
  "results": [
    {
      "dialogId": "034e622a-cc7e-456d-8a10-0ba43b11aa5e",
      "callsConfigurationId": "dc5942707c704551a00cd2ea",
      "parentCallId": "d8d84155-3831-43fb-91c9-10b5a8d628a0",
      "childCallId": "ae024ad1-52e7-45d5-a5d2-cd7c809e03f8",
      "duration": 5,
      "recording": {
        "composedFiles": [
          {
            "id": "65f0b3d7c8b6a00001a2b3c4",
            "name": "example-audio.wav",
            "fileFormat": "WAV",
            "size": 292190,
            "duration": 3
          }
        ],
        "callRecordings": [
          {
            "callId": "d8d84155-3831-43fb-91c9-10b5a8d628a0",
            "endpoint": {
              "phoneNumber": "41792030000",
              "type": "PHONE"
            },
            "files": [
              {
                "id": "65f0b3d7c8b6a00001a2b3c4",
                "name": "example-audio.wav",
                "fileFormat": "WAV",
                "size": 292190,
                "duration": 3
              }
            ]
          }
        ]
      },
      "errorCode": {
        "id": 10000,
        "name": "NORMAL_HANGUP",
        "description": "The call has ended with hangup initiated by caller, callee or API"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.