Skip to main content
PUT
/
v3
/
contact-blacklist-rules
/
domains
/
{id}
Update a domain blacklist rule
curl --request PUT \
  --url https://api.reply.io/v3/contact-blacklist-rules/domains/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pattern": "example.com"
}
'
{
  "id": 123,
  "pattern": "<string>",
  "isGlobal": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.reply.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Authorization: Bearer <your-api-key>

Get your API key from the Reply dashboard: Settings → API Key.

Path Parameters

id
integer
required

Domain blacklist rule ID

Body

application/json

Request body for updating a domain blacklist rule

pattern
string
required

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

Example:

"example.com"

Response

Domain blacklist rule updated successfully

A blacklist rule that blocks a domain pattern

id
integer
read-only

Unique identifier of the rule

pattern
string

Domain pattern to blacklist

isGlobal
boolean
read-only

Whether this is a global (system-wide) rule