v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Rules

List all rules

Lists rules for the current client, including associated route assignments with weights.

get/rules

Headers

X-Client-IDinteger

Switch client context (multi-tenant).

Response

List of rules.

idinteger
client_idinteger
rule_namestring
tagstring
priorityinteger

Lower number = higher priority.

expressionstring

Expression evaluated by expr.Compile(). Available variables: from_address, from_domain, from_local, to_address, to_domain, to_local, headers, remote_ip, helo, size. Helper functions: StartsWith(), EndsWith(), Contains(), Matches(), ToLower(), ToUpper(), Trim().

enabledboolean
created_atstring date-time