Was this helpful?
Check if a specific domain is in your account's blocklist
Domain to check
example.com
GET /blocklist/{domain} HTTP/1.1 Host: api.usercheck.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Domain found in blocklist
{ "domain": "example.com", "created_at": "2024-01-28T12:00:00Z" }
Remove a domain from your account's blocklist
Domain to remove
DELETE /blocklist/{domain} HTTP/1.1 Host: api.usercheck.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Domain removed from blocklist
No content
Get a list of domains in your account's blocklist
Number of results per page
25
GET /blocklist HTTP/1.1 Host: api.usercheck.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
List of blocklisted domains
[ { "domain": "example.com", "created_at": "2024-01-28T12:00:00Z" } ]
Add a new domain to your account's blocklist
POST /blocklist HTTP/1.1 Host: api.usercheck.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 24 { "domain": "example.com" }
Domain added to blocklist