POST
/
inbound
/
blocklist
curl --request POST \
--url https://api.jetemail.com/inbound/blocklist \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "example.com",
"type": "from",
"action": "block",
"value": "[email protected]",
"notes": "Known spam account"
}'
{
  "success": true,
  "message": "Blocklist rule created successfully",
  "uuid": "550e8400-e29b-41d4-a716-446655440000"
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Body

application/json

Response

200
application/json

Blocklist rule created successfully

The response is of type object.