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
Corps de la réponse
id
string
obligatoire
The ID for the recording.
source
string
obligatoire
Possible values: call, conference
sourceId
string
obligatoire
The ID for the source.
channelId
string
The ID for the channel.
status
string
obligatoire
Possible values: accepted, completed, ongoing, paused, available, absent, failed
direction
string
Possible values: incoming, outgoing
originator
object
Afficher les attributs enfants
originator.contact
object
Afficher les attributs enfants
originator.contact.id
string
obligatoire
originator.contact.identifierKey
string
obligatoire
originator.contact.identifierValue
string
obligatoire
originator.number
object
obligatoire
Afficher les attributs enfants
originator.number.type
string
obligatoire
Possible values: pstn, webrtc
originator.number.number
string
obligatoire
originator.number.anonymous
boolean
originator.number.callerIdName
string
originator.number.identity
string
originator.number.countryIsoCode
string
receiver
object
Afficher les attributs enfants
receiver.contact
object
Afficher les attributs enfants
receiver.contact.id
string
obligatoire
receiver.contact.identifierKey
string
obligatoire
receiver.contact.identifierValue
string
obligatoire
receiver.number
object
obligatoire
Afficher les attributs enfants
receiver.number.type
string
obligatoire
Possible values: pstn, webrtc
receiver.number.number
string
obligatoire
receiver.number.anonymous
boolean
receiver.number.callerIdName
string
receiver.number.identity
string
receiver.number.countryIsoCode
string
origin
string
obligatoire
Possible values: call-command-record, call-command-record-call, create-call, bridge-call
duration
integer
stereo
boolean
obligatoire
format
string
obligatoire
transcription
boolean
obligatoire
conferenceId
string
The ID for the conference.
url
string
roomInfoUrl
string
createdAt
string
obligatoire
updatedAt
string
obligatoire
endedAt
string
startedAt
string
Exemple de code
curl -X GET 'https://api.bird.com/workspaces/{workspaceId}/recordings/{recordingId}' \
  -H 'Authorization: AccessKey YOUR_ACCESS_KEY'
Exemple de code
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.
Exemple de code
/workspaces/{workspaceId}/recordings/{recordingId}.mp3
If successful, the above request will return a "307 Temporary Redirect” with the recording file.