Get recipient list entries
GET/users/:email/lists/:listname
Get recipient list entries
Request
Path Parameters
The email address of the recipient whose list will be fetched.
Possible values: [blocklist
, safelist
, blacklist
, whitelist
]
The name of the list to fetch. One of 'safelist' or 'blocklist'. 'whitelist' and 'blacklist' are deprecated
Responses
- 200
- 403
- 404
- 500
Successfully retrieved the entries
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The value of this entry. The meaning of this value depends on the item_type.
The item type.
Which list this entry is on, e.g. safelist or blocklist.
[
{
"item": "string",
"item_type": "string",
"action": "string"
}
]
Returned in the case that the domain in the user email is associated with an api key that is different than the one in the request, the user is associated with a different customer, or the domain in the user email is an alias domain.
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Account not found
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}