Get customer list entries
GET/lists/:listname
Get customer list entries
Request
Path Parameters
listname stringrequired
Possible values: [blocklist
, safelist
, blacklist
, whitelist
]
The name of the list to fetch entries for. One of 'safelist' or 'blocklist'. 'whitelist' and 'blacklist' are deprecated
Responses
- 200
- 500
Successfully retrieved the items
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
item string
The value of this entry. The meaning of this value depends on the item_type.
item_type string
The item type.
action string
Which list this entry is on, e.g. safelist or blocklist.
[
{
"item": "string",
"item_type": "string",
"action": "string"
}
]
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
errors string[]
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Loading...