Block one or more email addresses
Addresses are stored lowercase and deduplicated. Requires the `blocklist:create` permission.
Addresses are stored lowercase and deduplicated. Requires the blocklist:create permission.
Authorization
ApiKeyAuth x-api-key<token>
API key created under Settings → API Keys. Scoped to a single workspace.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/settings/blocked-emails" \ -H "Content-Type: application/json" \ -d '{ "emails": [ "user@example.com" ] }'{ "inserted": 0}