Get Hard Bounce List
GET https://restapi.actonsoftware.com/api/1/list/hardbounce
This endpoint will allow you to download the hard bounce list from this 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}) |
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 time in Unix timestamps. (timestamp converter:example)
Response
{ "offset": 0, "count": 1, "totalCount": -1, "result": [ { "email": "[email protected]", "timestamp": 1567637246965, "origin": "User: John Doe" } ] }
Note: totalCount will always be -1 and should not be used.
Code Examples
cURLPython
curl -X GET https://restapi.actonsoftware.com/api/1/list/hardbounce -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"
import requests url = "https://restapi.actonsoftware.com/api/1/list/hardbounce" payload = {} headers = { 'Authorization': 'Bearer 12345678-9abc-defg-hijk-lmnopqrs' } response = requests.request("GET", url, headers=headers, data = payload) print(response.text.encode('utf8'))