Add a subscriber to a list identified by a UID
. Once added, the subscriber's status would be either pending. This also triggers a confirmation email sending to the subscriber's email address for verification.
Parameters
api_token
string
Your API token. You can find it in your API main page when logged in.
list_uid
string
Mail list's uid
uid
string
Subsciber's uid
$client = new Acelle\Client(
'https://app.sastamail.com/api/v1',
'*|api_token|*'
);
$client->list()->subscribe($uid = 'e31046fce3d83', $subscriber_uid = '6292e06666859');
{
"status": 1,
"message": "Subscriber was subscribed"
}