Pro Feature: The blocklist functionality requires a Pro account. Upgrade now to unlock this feature.
Overview
The blocklist feature allows you to maintain a custom list of domains that should be blocked in your application. This is useful for:- Enforcing company-specific email policies
- Blocking competitors or specific organizations
- Maintaining a custom deny list beyond disposable email detection
- Implementing organization-specific compliance rules
List Blocklisted Domains
Query Parameters
integer
default:"25"
Number of results per page (1-100)
Request Example
Response Example
Add Single Domain
Request Body
string
required
The domain to add to the blocklist (e.g.,
example.com)Request Example
Response Example
Error Responses
Domain Already Blocklisted (422)Add Multiple Domains (Bulk)
Request Body
array
required
Array of domain strings to add (maximum 1,000 domains per request)
Request Example
Response Example
Bulk operations automatically deduplicate entries. If a domain is already in your blocklist, it will be marked as failed but won’t cause the entire request to fail.
Check Domain Status
Request Example
Response Example
Error Response (Not Found)
Remove Domain
Request Example
Response Example
Common Error Responses
Unauthorized (401)
Pro Feature Required (403)
Upgrade to Pro
Unlock blocklist management and other Pro features
Best Practices
Test in development first
Test in development first
Always test blocklist changes in your development environment before applying them to production to avoid accidentally blocking legitimate users.
Use bulk operations for efficiency
Use bulk operations for efficiency
When adding multiple domains, use the bulk endpoint to reduce API calls and improve performance.
Document blocklist decisions
Document blocklist decisions
Keep an internal record of why domains are blocklisted to help with future audits and policy reviews.
Regularly review your blocklist
Regularly review your blocklist
Periodically audit your blocklist to remove outdated entries and ensure it aligns with current policies.
Combine with disposable detection
Combine with disposable detection
Use blocklists in addition to disposable email detection for comprehensive fraud prevention.