Get Opt-In Subscriptions by Email

GET https://restapi.actonsoftware.com/api/1/subscription/category

This endpoint returns all categories a record has opted into based on email.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization Header False Required String Insert your generated access token.
("Bearer {access token}")
email Query False Optional String Specify the email address of the record.

Response

[
  {
    "id": "1",
    "name": "Newsletter",
    "description": "Our monthly newsletter"
  },
  {
    "id": "2",
    "name": "Example",
    "description": "This is an example"
  }
]

 

Code Examples

cURLPython

curl -X GET https://restapi.actonsoftware.com/api/1/subscription/category?email=john.doe@act-on.com -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"

Coming Soon