Skip to main content
Clawise

Add list entry

POST
/api/v1/mail/lists

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.

Request Body

application/json

Response Body

curl -X POST "https://api.clawise.dev/api/v1/mail/lists" \  -H "Content-Type: application/json" \  -d '{    "list_type": "",    "direction": "",    "email": "",    "inbox_id": null  }'