Bulk create email blacklist rules
Contact Blacklist Rules
Bulk create email blacklist rules
Beta. This endpoint is in beta. Behavior, parameters, and response shapes may change without notice.
Creates multiple email 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 email 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
Email pattern to blacklist. Must be a valid email format (e.g., spam@example.com)
Example:
"spam@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 email |
| 5 | NotAdded — rule could not be added (other reason) |