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

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
data
string
required
Required string length: 1 - 255
note
string
Maximum string length: 65535

Response

Default Response

The response is of type object.