GET - Download recording and voicemail

 

Purpose

Use this API to download recording and voicemail files.

 

Note

  • The same API is used to download both voicemail and recording log files. The filename determines which file to download.
  • Threshold for this url - 30 calls per min and lock period is 10 min.

 

Authorization

HeaderKey

Description

Authorization*

Zoho-oauthtoken<space><ACCESS_TOKEN>

Accept*

Set to */*

Request URL

Method: GET

https://voice.zoho.com/rest/json/zv/logs/voicerecording

Scope: ZohoVoice.call.READ

Parameters: 

Param NameData TypeDescription

recording_filename *

String

Represents the single or multiple comma-separated recording file names to download. 

Maximum length allowed is 10000 characters.

 

Example: recording_filename=1469501_16641882751_1469501.wav,1469501_16641881845_1469501.wav

 

 

Note: Download limit is set to a maximum of 10 files and a total file size of 1 GB.

password

SafeString

Represents the password configuration. If a value is provided, the file is downloaded as a ZIP file.

mode

String

Represents the action mode.

 

Possible values:

  • Play

  • Download

Default value is Download.

ZUID

Integer

Represents the user’s ZUID. 

When using org OAuth, this value is used in the criteria to verify whether the user has permission to view the recording file.

Sample Request

Copiedcurl -X GET "https://voice.zoho.com/rest/json/zv/logs/voicerecording?recording_filename=457575c3-bb4b-4415-b194-c69765bacf4f_recording.wav&mode=download&zuid=862936870" \
  -H "Authorization: Zoho-oauthtoken 1000.5dc3237adbfee9d10685002d00319f00.a17ead20e6dcb389c5b43f0aa29dab65" \
  -H "Accept: */*" \
  --output "457575c3-bb4b-4415-b194-c69765bacf4f_recording.wav"