Unicity Mail Subscriptions API

This API allows you to retrieve a list of the mailing lists that are subscribed to for a given email address.

Request URL

Endpoint

https://www.yoursite.com/admin/api/unicitymail/subscriptions

Methods supported

  • GET - Lists mailing lists

Data params

Required

  • email = [alphanumeric]

Success response

{

  "subscriptions":[

  {

    "list":{"id":"2","list_name":"My list name"},

    "contact":{"name":"Name","email":"test@example.com","custom1":"Test data","custom2":"","custom3":"","custom4":"","custom5":"",...,"custom20":" "}

  },

  {

    "list":{"id":"3","list_name":"My other list name"},

    "contact":{"name":"Name","email":"test@example.com","custom1":"Different data","custom2":"Custom values","custom3":"","custom4":"","custom5":"",...,"custom20":" "}

  }

  ],

  "rate-limit":10,

  "rate-limit-remaining":9

}