v1

latestOpenAPI 3.1.02026-07-26359254.7 MB
Contact Blacklist Rules

Create a domain blacklist rule

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

Creates a new domain blacklist rule.

post/v3/contact-blacklist-rules/domains

Request body

patternstring required

Domain pattern to blacklist. Must be a valid domain format (e.g., example.com, spam-domain.net)

Example request

{
  "pattern": "example.com"
}

Response

Domain blacklist rule created successfully

idinteger

Unique identifier of the rule

patternstring

Domain pattern to blacklist

isGlobalboolean

Whether this is a global (system-wide) rule