List OptOuts
This document will go over how to list all of your OptOut requests.
Last updated
This document will go over how to list all of your OptOut requests.
Last updated
GET
/addressbook/optout
List all of your OptOuts between two set dates.
Retrieve 100 Optouts between 2023-01-01 00:00:00 (UTC) and 2023-01-02 00:00:00 (UTC).
Retrieve Opt-Outs between 2023-01-01 12:00:00 (AEST) and 2023-01-02 12:00:00 (AEST).
Headers
Name | Value |
---|---|
Body
Response
We use conventional HTTP response codes to indicate the success or failure of an API request. In general:
2xx indicate success 4xx indicate an error that failed given the information provided (e.g., a required parameter was omitted) 5xx errors indicate an error with ours servers (these are rare).
To see a full list of our Response codes, please click here.
Name | Type | Required? | Description |
---|---|---|---|
Content-Type
application/json
Authorization
Bearer [Api Key]
startDate
string
Yes
Start Date Format(s):
YYYY-MM-DD
YYYY-MM-DDTHH:MM:SS+TZ
Examples:
2023-01-01
2023-01-01T00:00:00+0000
2023-01-01T00:09:00+0900
.
endDate
string
Yes
End Date.
Examples: See startDate.
page
integer
No
Page number. Default: 1.
pageSize
integer
No
Number of message records to return. Default: 10 Max: 1000.