Recording URL
Generates a temporary audio URL for a specific call's recording. Use it to stream or download the recording without signing in to the admin portal.
GET
https://admin.zvmstelecom.net/api/v1/domains/{DOMAIN_UUID}/cdrs/{XML_CDR_UUID}/recording-urlPath Parameters
DOMAIN_UUIDstring (UUID)Required
Your domain's UUID, provided with your API credentials.
XML_CDR_UUIDstring (UUID)RequiredBeta
The ID of the call whose recording you want, taken from the xml_cdr_uuid field of a List Call History result.
Example Request
Generate a temporary audio URL for one call. The -L flag tells cURL to follow redirects.
cURL
XML_CDR_UUID="YOUR_XML_CDR_UUID" curl -sS -L \ "https://admin.zvmstelecom.net/api/v1/domains/${DOMAIN_UUID}/cdrs/${XML_CDR_UUID}/recording-url" \ -H "Accept: application/json" \ -H "Authorization: Bearer ${TOKEN}" | python3 -m json.tool
Response
The response includes two links to the recording:
| Field | Description |
|---|---|
audio_url | Temporary link to the recording audio. Open it to listen to or download the recording; no sign-in needed. Use this link for integrations. |
download_url | Direct download link that requires admin portal login credentials. |
audio_url is temporary. Generate a new link each time you need one rather than storing it. Treat the link as sensitive: anyone who has it can play the recording until it expires.
Typical workflow
- Call List Call History with your filters, for example today's answered calls.
- Pick a call and copy its
xml_cdr_uuid. - Request
/cdrs/{XML_CDR_UUID}/recording-urland open the returnedaudio_url.