Sign inGet started

Get a Recording

In order to retrieve a recording metadata, you can use the following endpoint.
GET
/workspaces/{workspaceId}/recordings/{recordingId}
Get recording
Treść odpowiedzi
id
string
wymagane
The ID for the recording.
source
string
wymagane
Possible values: call, conference
sourceId
string
wymagane
The ID for the source.
channelId
string
The ID for the channel.
status
string
wymagane
Possible values: accepted, completed, ongoing, paused, available, absent, failed
direction
string
Possible values: incoming, outgoing
originator
object
Pokaż atrybuty podrzędne
originator.contact
object
Pokaż atrybuty podrzędne
originator.contact.id
string
wymagane
originator.contact.identifierKey
string
wymagane
originator.contact.identifierValue
string
wymagane
originator.number
object
wymagane
Pokaż atrybuty podrzędne
originator.number.type
string
wymagane
Possible values: pstn, webrtc
originator.number.number
string
wymagane
originator.number.anonymous
boolean
originator.number.callerIdName
string
originator.number.identity
string
originator.number.countryIsoCode
string
receiver
object
Pokaż atrybuty podrzędne
receiver.contact
object
Pokaż atrybuty podrzędne
receiver.contact.id
string
wymagane
receiver.contact.identifierKey
string
wymagane
receiver.contact.identifierValue
string
wymagane
receiver.number
object
wymagane
Pokaż atrybuty podrzędne
receiver.number.type
string
wymagane
Possible values: pstn, webrtc
receiver.number.number
string
wymagane
receiver.number.anonymous
boolean
receiver.number.callerIdName
string
receiver.number.identity
string
receiver.number.countryIsoCode
string
origin
string
wymagane
Possible values: call-command-record, call-command-record-call, create-call, bridge-call
duration
integer
stereo
boolean
wymagane
format
string
wymagane
transcription
boolean
wymagane
conferenceId
string
The ID for the conference.
url
string
roomInfoUrl
string
createdAt
string
wymagane
updatedAt
string
wymagane
endedAt
string
startedAt
string
Przykład kodu
curl -X GET 'https://api.bird.com/workspaces/{workspaceId}/recordings/{recordingId}' \
  -H 'Authorization: AccessKey YOUR_ACCESS_KEY'
Przykład kodu
curl "/workspaces/{workspaceId}/recordings/{recordingId}" \
     -H 'Authorization: AccessKey YOUR_SECRET_TOKEN'
In order to directly retrieve the recording media, you must add the extension .mp3 to the above request.
Przykład kodu
/workspaces/{workspaceId}/recordings/{recordingId}.mp3
If successful, the above request will return a "307 Temporary Redirect” with the recording file.