Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

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.
Click Try It! to start a request and see the response here!