Overview
Lists Audio Messages (Recordings) for an account based on information sent via an http form post.
Post Url
https://www.allclients.com/api/2/GetAudioMessages.aspx
- SSL is requred
- White Label CRM Customers: Replace www.allclients.com with your White Label CRM domain name.
Note on Audio Message Security
The “audiourl” for the MP3 recording is publicly playable from anywhere without being logged in to the system. (This is what allows the audio to be played on Landing Pages to the public, for example)
Form Fields
Field | Max Length* | Required | Notes |
response_type | No | Default results will be returned in XML. Set this field value to json to return results in JSON format | |
accountid | Yes | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
apikey | Yes | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
teammemberid | No | Leave blank for all users Set to 0 (zero) for Account Owner Only |
|
audiomessageid | No | To return just a single audio message, submit the audiomessageid in this field. |
Sample Results
Success Message
<results>
<audiomessages>
<audiomessage>
<audiomessageid>10001</audiomessageid>
<name>Sample Message</name>
<audiourl>https://yourdomain.com/audio/12345.mpg</audiourl>
<playcount>12</playcount>
<dateadded>3/8/2012 11:36:00 AM</dateadded>
</audiomessage>
</audiomessages>
</results>
Sample Failure Message
<?xml version="1.0"?>
<results>
<error>Authentication failed</error>
</results>