Download a specific voice recording associated with a call interaction.
This API endpoint is typically used by supervisor or administrative applications to retrieve the audio file for quality monitoring or record-keeping purposes.
<Protocol>://<IP_Domain_Name>:<port>/ameyorestapi/cc/downloadVoiceLog
This API requires session-based authentication. A valid session token must be passed in the request header.
The following parameters are passed directly in the URL query string to identify the file to be downloaded and the desired format.
| Parameter | Type | Required | Description | Example Value |
campaignId |
Integer |
Yes | The ID of the campaign the voice log belongs to. | 110 |
crtObjectId |
String |
Yes | Call Run Time Object ID. The unique identifier generated during the call session used to locate the recorded audio file on the server. | d741-6904fad1-vce-daf-638729 |
targetFormat |
String |
Yes | The desired output file format for the voice log. | mp3 |
filters |
String |
Yes | An object containing specific metadata (like the callId) used for verification. The value must be URL encoded. |
|
curl --location --globoff 'https://app3.ameyoemerge.in:8443/ameyorestapi/cc/downloadVoiceLog?campaignId=110&crtObjectId=d741-6904fad1-vce-daf-638729&targetFormat=mp3&filters={callId%d741-6904fad1-vcall-10989826}' \
--header 'Sessionid: d741-6904fad1-ses-supervisor@exotel.in-w1pQnDRa9KNCQAXJrVhdxHXZcSCGQszWe24UWiNYBIFHAdwV6IYC9WHFblvWcvQsnyNvf6NYgOsqqVvdvUVruTHJWz9sOJbKpXybsRTHxNxELuCA1Gj8-96338'
A successful request streams the raw audio file data directly to the client.