post https://api.zaius.com/v3/lists/subscriptions
Subscribe or unsubscribe a customer identifier to or from an Optimizely Data Platform (ODP) list.
- Subscribe – Set
subscribed
totrue
. - Unsubscribe – Set
subscribed
tofalse
. - Provide a single
list_id
for the list that you want to subscribe or unsubscribe a customer to. - To get the
list_id
, use the Get Lists endpoint. - This API only accepts a single identifier type and identifier value pair in the form
"identifier type": "identifier value"
. See"email": "[email protected]"
in the following example:{ "subscribed": true, "list_id": "newsletter", "email": "[email protected]" }
- Examples of valid identifier types:
email
,phone
,vuid
, and so on.