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
subscribedtotrue. - Unsubscribe – Set
subscribedtofalse. - Provide a single
list_idfor 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.