HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In


This topic describes messaging lists and how to manage customer's communication preferences via Optimizely Data Platform's (ODP) Lists APIs.

Messaging Lists allow the grouping of customers for the purposes of tracking their communication preferences. For example, allowing customers to subscribe to a company newsletter or for holiday news.

Full Reference


Quick Reference

curl -iX POST \
'https://api.zaius.com/v3/lists/subscriptions' \
-d '[
    "list_id": "sample_list",
    "email": "[email protected]",
    "subscribed": true
    "list_id": "sample_list2",
    "email": "[email protected]",
    "subscribed": false
]' \
-H 'Content-Type: application/json' \
-H 'x-api-key: example.apiKey'
// subscribe [email protected] to newsletter list
zaius.subscribe({list_id: 'newsletter', email: '[email protected]'});
// unsubscribe [email protected] from newsletter list
zaius.unsubscribe({list_id: 'newsletter', email: '[email protected]'});

Did this page help you?