Skip to main content
POST
/
blacklist
Create blacklist entry
curl --request POST \
  --url https://api.shoppex.io/dev/v1/blacklist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "EMAIL",
  "value": "<string>",
  "reason": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "uniqid": "<string>",
    "type": "EMAIL",
    "data": "<string>",
    "note": "<string>",
    "created_at": 123,
    "updated_at": 123
  }
}

Authorizations

Authorization
string
header
required

Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...

Body

application/json
type
enum<string>
required
Available options:
EMAIL,
IP,
COUNTRY,
DOMAIN,
CRYPTO_ADDRESS
value
string
required
Required string length: 1 - 255
reason
string
Maximum string length: 65535

Response

Default Response

data
object
required