v1

latestOpenAPI 3.1.02026-07-26359254.7 MB
Contact Blacklist Rules

Create an email blacklist rule

<small>Requires the contacts:write scope (or a broader one that includes it).</small>

Creates a new email blacklist rule.

post/v3/contact-blacklist-rules/emails

Request body

patternstring required

Email pattern to blacklist. Must be a valid email format (e.g., spam@example.com)

Example request

{
  "pattern": "spam@example.com"
}

Response

Email blacklist rule created successfully

idinteger

Unique identifier of the rule

patternstring

Email pattern to blacklist

isGlobalboolean

Whether this is a global (system-wide) rule