Retrieves allowlist rules for a specific domain. Provide exactly one of: domain, subdomain_id, or subdomain_uuid.
cURL
curl --request GET \ --url https://api.jetemail.com/inbound/filters/allowlist \ --header 'Authorization: Bearer <token>'
{ "success": true, "rules": [ { "uuid": "550e8400-e29b-41d4-a716-446655440000", "userId": "<string>", "organizationId": "<string>", "domain": "example.com", "action": "ALLOW", "name": "Allow trusted senders", "description": "<string>", "enabled": 1, "deleted": 0, "last_modified": 1735689600, "conditions": { "senders": [ { "sender_type": "email", "sender_value": "<string>" } ], "recipients": [ { "recipient_type": "email", "recipient_value": "<string>" } ], "subjects": [ { "match_type": "exact", "subject_value": "<string>", "case_sensitive": 0 } ], "body": [ { "match_type": "contains", "body_value": "<string>", "case_sensitive": 0, "max_body_size": 123 } ], "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.
Fully qualified domain name
Numeric subdomain ID
Subdomain UUID
Successfully retrieved allowlist rules
true
Show child attributes