Read one recording.
curl --request GET \
--url https://omni-api.sendblue.com/recordings/{recording_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/recordings/{recording_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/recordings/{recording_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"call_id": "<string>",
"status": "in_progress",
"source": "<string>",
"channels": 1,
"duration_seconds": 123,
"price": {
"amount_micro_usd": 7900,
"currency": "USD"
},
"started_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Read one recording.
Required permission: recordings:read. Accepted credentials: a signed-in person, an API key, the account token.
GET
/
recordings
/
{recording_id}
Read one recording.
curl --request GET \
--url https://omni-api.sendblue.com/recordings/{recording_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/recordings/{recording_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/recordings/{recording_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"call_id": "<string>",
"status": "in_progress",
"source": "<string>",
"channels": 1,
"duration_seconds": 123,
"price": {
"amount_micro_usd": 7900,
"currency": "USD"
},
"started_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Authorizations
personbearerlegacyKeyId & legacyKeySecret
Response
The recording.