Bulk create domain blacklist rules
Contact Blacklist Rules
Bulk create domain blacklist rules
Beta. This endpoint is in beta. Behavior, parameters, and response shapes may change without notice.
Creates multiple domain blacklist rules. Non-atomic — some may succeed while others fail. Each item in the response array contains the created ID or error details.
POST
Bulk create domain blacklist rules
Authorizations
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.
Body
application/json
Domain pattern to blacklist. Must be a valid domain format (e.g., example.com, spam-domain.net)
Example:
"example.com"
Response
Array of creation results, one per input item.
Per-item error codes:
| error | Meaning |
|---|---|
| 2 | Duplicate — a rule with this pattern already exists |
| 4 | InvalidPattern — pattern is not a valid domain |
| 5 | NotAdded — rule could not be added (other reason) |