GET https://api.actonsoftware.com/api/1/list/spamcomplaint
This endpoint allows you to download the spam complaint list from this account.
Customers wanting to access our API via our gateway in the EU can use this link:
GET https://api-eu.actonsoftware.com/api/1/list/spamcomplaint
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | false | required | String | Insert your generated access token. (Bearer {access token}) |
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) |
createdbefore | query | false | optional | string | Filter records created before the specified date. |
createdafter | query | false | optional | string | Filter records created after the specified date. |
Parameter Notes
createdafter and createdbefore
The parameters return the time in Unix timestamps. A useful convetor can be found here.
Response
{ "offset": 0, "count": 0, "totalCount": -1, "result": [] }
Note: totalcount will always be -1 and should not be used.
Code Examples
cURL
curl -X GET https://api.actonsoftware.com/api/1/list/spamcomplaint -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"