The GET/voicemail/file method returns detailed information about a particular voicemail file.
The returned response Include the following fields of information:
- name - the name the voicemail.
- data - the actual audio of the voicemail in asci text format, encoded in base64.
- mimetype - the format of the audio file. This is always defined as "audio\/x-wav"
You can convert the data into actual audio with any online base64 to wav convertor, such as this one:
Choose "decode" and enter the output file as ".wav"
All parameters go in the header.
|dir||string||The directory for which the messages will be listed, either INBOX or SENT|
|mailbox||string||Indicate the number for the mailbox from which you want to obtain the voicemail file from.|
|voicemail||string||The file name of the voicemail for which you want to obtain the audio data.|
You get the file name from the get/voicemail method as explained here.
To get the audio for a file "1500371176_15003711625275027_10142__9" from mailbox 1113840 use this syntax:
HTTP method: GET
Note that the data may be dozens of pages long. Shown here is a truncated version.