Lists
Filter emails by allowing or blocking specific addresses and domains.
What are Lists?
Lists allow you to filter emails by allowing or blocking specific email addresses or domains. There are four list types based on two dimensions:
- Direction:
sendorreceive - Type:
alloworblock
Each entry can be either a full email address (e.g., partner@example.com) or an entire domain (e.g., example.com).
SDK examples
List entries
Retrieve entries from a list with optional pagination.
Create entry
Add an email address or domain to a list. The reason parameter is optional and available on block lists.
Get entry
Retrieve a specific entry from a list by its email address or domain.
Delete entry
Remove an entry from a list.
