logoSellhub
Blacklists
background
Sellhub Docs
Sellhub Docs
Blacklist Entries
GET
/store/blacklists

Authorization

Authorization<token>

In: header

Query Parameters

idstring

Generic ID filter (e.g., product, bundle, coupon, etc.)

blacklistTypestring

Type of blacklist (e.g., email or ip_address)

valuestring

The blacklisted value

createdAtFromstring

Earliest creation date (ISO 8601 datetime)

Format: "date-time"
createdAtTostring

Latest creation date (ISO 8601 datetime)

Format: "date-time"
curl -X GET "https://dash.sellhub.cx/api/sellhub/store/blacklists?id=%3Cstring%3E&blacklistType=%3Cstring%3E&value=%3Cstring%3E&createdAtFrom=2019-08-24T14%3A15%3A22Z&createdAtTo=2019-08-24T14%3A15%3A22Z" \
  -H "Authorization: <token>"

A list of blacklist entries

{
  "data": {
    "blacklists": [
      {
        "id": "blacklist_123",
        "blacklistType": "email",
        "reason": "Suspicious activity",
        "value": "spam@example.com",
        "createdAt": "2023-06-15T14:30:00Z"
      }
    ]
  }
}