Consent (Legacy)

There are no plans to sunset the legacy consent paths at this time, but no further enhancement will be made. Please migrate to the latest Consent API.

Customers who have opted out cannot receive marketing messages.

https://api.zaius.com/v3/lists/subscriptions
This endpoint combination allows you to update consent for the customer.
Request
Response
Request
Body Parameters
email
required
string
The customer's email address.
opted_in
required
boolean
The customer's subscription status.
Response
200: OK
‚Äč
Example Payload
[
{
"email": "sample@test.com",
"opted_in": false
}
]