GET https://api.actonsoftware.com/api/1/subscription/optout
This endpoint allows you to download the list of records that have opted out of a specifc subscription category.
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/optout
Parameters
| Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
|---|---|---|---|---|---|
| Authorization: | Header | False | Required | String | Insert your generated access token. (Bearer {access token}) |
| category | Query | False | Required | String | Specify the name of the subscription. |
| count | Query | False | Optional | String | Specify the number of elements to fetch. (Maximum=1000) |
| offset | Query | False | Optional | String | Specify the element offset to begin the fetch. (Default=0) |
Response
{
"offset": 0,
"count": 1,
"totalCount": 1,
"result": [
{
"email": "john.doe@act-on.com",
"timestamp": 1567639430659
}
]
}
Code Examples
cURL
curl -X GET https://api.actonsoftware.com/api/1/subscription/optout?category=Test -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"