https://<subdomain>.sendsmaily.net/api/list.php
Parameters
None.
Results are presented alphabetically, according to the values in the “name” field.
Example query:
List user made filters
$username = 'YOUR_USERNAME'; $password = 'YOUR_PASSWORD'; $location = 'https://<subdomain>.sendsmaily.net/api/list.php'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $location); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, "$username:$password"); $result = curl_exec($ch); curl_close($ch);
Result is a JSON array containing filter objects:
[ { "id":"1", "name":"Estonian subscribers" }, { "id":"3", "name":"Latvian subscribers" }, { "id":"2", "name":"Finnish subscribers" } ]
See also other possible results from Possible results.