Skip to content

Create a new email blocklist entry​

POST
/api/admin/emailblocklist

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Request Body​

application/json
JSON
{
  
"email": "*@spam-domain.com",
  
"reason": "Spam domain",
  
"isActive": true
}

Responses​

Entry created successfully

Playground​

Authorization
Body

Samples​