Retrieve all your mail lists as well as every mail list's details like name, description, etc. You can also find every list's UID which is used as reference key for a particular list
Parameters
api_token string
Your API token. You can find it in your API main page when logged in.
$client = new Acelle\Client(
'https://app.sastamail.com/api/v1',
'*|api_token|*'
);
$client->list()->all();
[
{
"id": 1,
"uid": "5fade5c93e42a",
"name": "My Awesome Campaign",
"default_subject": "An Awesome Subject",
"from_email": "[email protected]",
"from_name": "Customer Support",
"status": null,
"created_at": "2021-11-13 01:47:53",
"updated_at": "2021-12-04 07:29:24"
},
{
"id": 2,
"uid": "5fc9e55410e10",
"name": "List 1",
...
},
...
]