Retrieve Call Recordings

Retrieve information about all recordings that occurred during a call.

Request URL

GEThttps://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}/recordings

Basic Authentication

Bandwidth's Voice API leverages Basic Authentication with your Dashboard API Credentials. Read more about how Bandwidth secures endpoints in the Security & Credentials document.


Supported Parameters

Parameter Description
None None

Example 1 of 1: Retrieve recordings from a call

curl -X GET \
    --url "https://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}/recordings" \
    -u '{username}:{password}'
[
  {
    "accountId"           : "5552319",
    "callId"              : "c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f",
    "recordingId"         : "r-d68201ef-d53e-4c6d-a743-1c1283909d41",
    "to"                  : "+15552311778",
    "from"                : "+15552311772",
    "duration"            : "PT11.64S",
    "direction"           : "inbound",
    "channels"            : 1,
    "startTime"           : "2019-10-21T16:45:11.293Z",
    "endTime"             : "2019-10-21T16:55:12.950Z",
    "fileFormat"          : "wav",
    "transcriptionStatus" : "none",
    "mediaUrl"            : "https://../{accountId}/calls/{callId}/recordings/{recordingId-1}/media",
    "transcriptionUrl"    : null
  },
  {
    "accountId"           : "5552319",
    "callId"              : "c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f",
    "recordingId"         : "r-fbe50820-f59f6a4d-f5eb-4d42-900a-86796b0446c6",
    "to"                  : "+15552311778",
    "from"                : "+15552311772",
    "duration"            : "PT5.000S",
    "direction"           : "inbound",
    "channels"            : 2,
    "startTime"           : "2019-10-21T16:55:13.038Z",
    "endTime"             : "2019-10-21T16:55:18.038Z",
    "fileFormat"          : "mp3",
    "transcriptionStatus" : "none",
    "mediaUrl"            : "https://../{accountId}/calls/{callId}/recordings/{recordingId-2}/media",
    "transcriptionUrl"    : null
  }
]

//coming soon
;
#coming soon
# coming soon

The resource returned in the "mediaUrl" field can be used to retrieve the recording, see /calls/{callId}/recordings/{recordingId}/media.

results matching ""

    No results matching ""