GET https://restapi.actonsoftware.com/api/1/subscription/category
This endpoint allows you to download the list of subscription management categories from the account.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
Response
[ { "id": "1", "name": "Newsletter", "description": "Our monthly newsletter", "headerid": "1", "headername": "Newsletter" }, { "id": "2", "name": "Example", "description": "This is an example", "headerid": "2", "headername": "Example" } ]
Code Examples
cURL
curl -X GET https://restapi.actonsoftware.com/api/1/subscription/category -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"