Retrieves all allowlist rules that apply across all domains in the authenticated user’s account. These rules are scoped by userId/organizationId and are not tied to any specific domain.
cURL
curl --request GET \ --url https://api.jetemail.com/inbound/account/allowlist \ --header 'Authorization: Bearer <token>'
{ "success": true, "rules": [ { "id": 1, "name": "Allow partner emails", "description": "Allow all emails from partner domain", "priority": 10, "userId": "<string>", "organizationId": "<string>", "enabled": 1, "deleted": 0, "last_modified": 1735689600, "conditions": { "senders": [ { "sender_type": "email", "sender_value": "partner.com" } ], "recipients": [ { "recipient_type": "email", "recipient_value": "<string>" } ], "subjects": [ { "match_type": "exact", "subject_value": "<string>", "case_sensitive": 0 } ], "headers": [ { "header_name": "<string>", "match_type": "exact", "header_value": "<string>", "case_sensitive": 0 } ], "ips": [ { "ip_type": "single", "ip_value": "192.168.1.0/24" } ], "size": { "min_size": 123, "max_size": 123 }, "attachments": [ { "match_type": "filename", "match_value": "<string>", "case_sensitive": 0 } ] } } ] }
API key for account management endpoints. Use your api_ prefixed token.
Successfully retrieved account allowlist rules
true
Show child attributes