Skip to main content
POST
/
contact-blacklist-rules
/
domains
/
bulk
Bulk create domain blacklist rules
curl --request POST \
  --url https://api.reply.io/v3/contact-blacklist-rules/domains/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
[
  {
    "pattern": "<string>"
  }
]
'
[
  {
    "id": 123,
    "error": 123,
    "errorDetails": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Body

application/json
pattern
string
required

Domain pattern to blacklist

Response

Array of creation results, one per input item

id
integer | null

ID of the created rule, null if creation failed

error
integer | null

Error code if creation failed

errorDetails
string | null

Human-readable error description if creation failed