Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Subscribe or unsubscribe a customer identifier to or from an Optimizely Data Platform (ODP) list.

  • Subscribe – Set subscribed to true .
  • Unsubscribe – Set subscribed to false .
  • 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.
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!