GET https://api.actonsoftware.com/api/1/subscription/category
This endpoint returns all categories a record has opted into based on email.
Customers wanting to access our API via our gateway in the EU can use this link:
GET https://api-eu.actonsoftware.com/api/1/subscription/category
Parameters
| Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
|---|---|---|---|---|---|
| Authorization | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
| 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
cURL
curl -X GET https://api.actonsoftware.com/api/1/subscription/category?email=john.doe@act-on.com -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"