ResourcesBlacklists
List All Blacklist Rules
Retrieve a paginated list of blacklist rules.
Authorization
bearerAuth AuthorizationBearer <token>
Provide your SellApp API key as a bearer token.
In: header
Query Parameters
limit?integer
Limit the number of blacklist rules returned.
Default
15Range
1 <= value <= 100page?integer
The page number you are attempting to access.
Default
1Range
1 <= valueResponse Body
application/json
application/json
curl -X GET "https://sell.app/api/v1/blacklists"{
"data": [
{
"id": 1,
"type": "EMAIL",
"data": "rick@astley.com",
"description": "He rickrolled me too many times.",
"created_at": "2022-12-12T12:12:12.000000Z",
"updated_at": "2022-12-12T12:12:12.000000Z",
"store_id": 1
}
],
"links": {
"first": "https://sell.app/api/v1/blacklists?page=1",
"last": "https://sell.app/api/v1/blacklists?page=4",
"prev": null,
"next": "https://sell.app/api/v1/blacklists?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 4,
"path": "https://sell.app/api/v1/blacklists",
"per_page": 15,
"to": 15,
"total": 57
}
}{
"message": "Unauthenticated."
}