Get signed recording URL
curl --request GET \
--url https://dashboard.ondial.ai/api/v1/calls/{id}/recording \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dashboard.ondial.ai/api/v1/calls/{id}/recording', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://dashboard.ondial.ai/api/v1/calls/{id}/recording"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"callId": "<string>"
}{
"error": "Invalid or inactive API key",
"reasonCode": "unauthorized"
}{
"error": "Insufficient scope",
"reasonCode": "forbidden",
"missing": [
"calls:read"
]
}{
"error": "Not found",
"reasonCode": "not_found"
}Get call recording
Mint a short-TTL signed recording URL (opt-in recordings:read scope).
GET
/
api
/
v1
/
calls
/
{id}
/
recording
Get signed recording URL
curl --request GET \
--url https://dashboard.ondial.ai/api/v1/calls/{id}/recording \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dashboard.ondial.ai/api/v1/calls/{id}/recording', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://dashboard.ondial.ai/api/v1/calls/{id}/recording"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"callId": "<string>"
}{
"error": "Invalid or inactive API key",
"reasonCode": "unauthorized"
}{
"error": "Insufficient scope",
"reasonCode": "forbidden",
"missing": [
"calls:read"
]
}{
"error": "Not found",
"reasonCode": "not_found"
}Requires
recordings:read (opt-in at key approval).
Returns { url, expiresAt } — the URL redirects to media without an API key until expiry. List/detail endpoints never return permanent storage URLs.Authorizations
Paste only your API key (ond_live_… or ond_test_…). Do not type the word Bearer — the playground adds it.
Path Parameters
Query Parameters
Signed token (redirect mode)

