Skip to main content
PUT
/
v3
/
contact-blacklist-rules
/
emails
/
{id}
Update an email blacklist rule
curl --request PUT \
  --url https://api.reply.io/v3/contact-blacklist-rules/emails/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pattern": "spam@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

Email blacklist rule ID

Body

application/json

Request body for updating an email blacklist rule

pattern
string
required

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

Example:

"spam@example.com"

Response

Email blacklist rule updated successfully

A blacklist rule that blocks an email pattern

id
integer
read-only

Unique identifier of the rule

pattern
string

Email pattern to blacklist

isGlobal
boolean
read-only

Whether this is a global (system-wide) rule