API Reference

In Sasta Mail platform, a contact is identified by his/her unique email address and he or she may belong to more than one list with different list's specific values. For example, a contact may have different ADDRESS values in different lists

Parameters


api_token string
Your API token. You can find it in your API main page when logged in.


email string
Subscriber's email

$client = new Acelle\Client(
    'https://app.sastamail.com/api/v1',
    '*|api_token|*'
);
$client->subscriber()->findByEmail('[email protected]');
{
    "subscribers": [
        {
            "uid":"5fd07b8b65284",
            "list_uid":"5fc9e55410e10",
            "email":"[email protected]",
            "status":"subscribed",
            "source":null,
            "ip_address":null,
            "FIRST_NAME":"Marine",
            "LAST_NAME":"Joze",
            "CUSTOM_FIELD_1":null
        }
    ]
}