Get list entries
Lists allowlist or blocklist entries for the organization.
Filter by list_type, direction, or scope to a specific inbox with inbox_id. All filters are optional.
Query Parameters
list_type?string
Filter by list category.
Value in
"allowlist" | "blocklist"direction?string
Filter by mail flow direction.
Value in
"inbound" | "outbound"inbox_id?string
Filter to rules scoped to this inbox.
Response Body
application/json
curl -X GET "https://api.clawise.dev/api/v1/mail/lists?list_type=allowlist&direction=inbound&inbox_id="Add list entry POST
Adds an email address to the organization's allowlist or blocklist. Allowlists permit only listed senders/recipients; blocklists deny them. `direction` controls whether the rule applies to inbound (`inbound`) or outbound (`outbound`) mail. Optionally scope the rule to a single inbox via `inbox_id`.
Remove list entry DELETE
Removes an allowlist or blocklist entry by ID.