Skip to main content
GET
Returns every entry in your domain and email block list, a page at a time, for audits, backups or a sync to another system. Pass next_cursor from one page as cursor to get the next; when next_cursor is null you have every entry. Pages are in order of email_or_domain, then id. Unlike offset on Get Domain Block List, a cursor stays fast on very large lists.
Client API keys get 401 Not authorized on this endpoint, the same as the other block list endpoints.

Query Parameters

string
required
Your SmartLead API key
integer
Only entries assigned to this client. Leave it out for every entry in your account.
integer
default:"1000"
Entries per page, 1 to 5000
string
next_cursor from the previous page. Leave it out for the first page.

Response Codes

Success
One page. data is empty when there is nothing (more) to read. next_cursor is null on the last page.
Bad Request
cursor is not a next_cursor from this endpoint, limit is outside 1 to 5000, filter_client_id is not a positive integer, or an unknown query parameter
Unauthorized
Invalid or missing API key, or a client API key
Internal Server Error
The read failed; retry the same request