Lists
get
https://api.zaius.com/v3
/lists/subscriptions?{identifier}={identifier_value}
Get Subscription Status
Example Request
1
curl -iX GET \
2
'https://api.zaius.com/v3/lists/[email protected]' \
3
-H 'x-api-key: example.apiKey'
Copied!
The ts_status_updated value in the response will indicate the last time the subscribed value was changed. If the customer has never been subscribed to a list, the subscribed value is false and the ts_status_updated value is null.
The explicit_opt_in Boolean value in the response will indicate if the email address explicitly consented to receive marketing messages, or if global marketing consent is null. Learn more about implicit and explicit consent in the Zaius Help Center. explicit_opt_in will be false when global marketing consent is false or null.
post
https://api.zaius.com/v3
/lists/subscriptions
Subscribe / Unsubscribe
Example Payload
1
{
2
"list_id": "sample_list",
3
"email": "[email protected]",
4
"subscribed": false
5
}
Copied!
get
https://api.zaius.com/v3
/lists
Get Lists
Example Request
1
curl -iX GET \
2
'https://api.zaius.com/v3/lists' \
3
-H 'x-api-key: example.apiKey'
Copied!
post
https://api.zaius.com/v3
/lists
Create List
Example Payload
1
{
2
"name": "My List"
3
}
Copied!
Last modified 1yr ago