Get a call recording
curl --request GET \ --url https://api.sipstack.com/api/v2/nova/calls/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/recording \ --header 'x-api-key: <x-api-key>'import requests
url = "https://api.sipstack.com/api/v2/nova/calls/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/recording"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.json())const url = 'https://api.sipstack.com/api/v2/nova/calls/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/recording';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}import axios from 'axios';
const options = { method: 'GET', url: 'https://api.sipstack.com/api/v2/nova/calls/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/recording', headers: {'x-api-key': '<x-api-key>'}};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}Returns a short-lived presigned URL (1 hour) to download the recording
of a Nova call, plus its duration and recorded-at timestamp. Requires
calls:read. Strictly org-scoped — the id is a Nova call id (UUID).
404 when the call isn’t your organization’s, or when no recording was
captured for it.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The Nova call id (UUID) from GET /api/v2/nova/calls.
Responses
Section titled “ Responses ”A presigned recording URL with metadata.
object
A presigned URL to download a call recording, with its metadata.
object
Short-lived presigned download URL for the recording audio.
Seconds until the URL expires.
Recording length in seconds, when known.
Example
{ "data": { "expiresIn": 3600 }}Missing or invalid API key.
Inline error shape used by the messaging API and management endpoints.
object
Example
{ "success": false, "error": "Recipient phone number (to) is required"}The key is missing the calls:read scope, or the Nova API tier is not on your plan.
Inline error shape used by the messaging API and management endpoints.
object
Example
{ "success": false, "error": "Recipient phone number (to) is required"}Call not found in your organization, or no recording exists for it.
Inline error shape used by the messaging API and management endpoints.
object
Example
{ "success": false, "error": "Recipient phone number (to) is required"}