List filters
GET/api/accounts/:accountId/sieve/filters
Returns the account's server-side mail filters (rules applied to incoming mail), in the order they run, with their conditions, actions and whether each is enabled.
The filters are read over ManageSieve from the app's own blocks in the active Sieve script; rules written there by other tools are not listed. Filters with a spam or delete action always come first because they run first. A filter saved without a name gets one made up from its conditions.
Request
Responses
- 200
- 401
- 404
- 424
Filters in run order.
The session has no mailbox access token. code is mail_token_missing; sign in again.
The account does not exist or belongs to another user.
Sieve is not configured, or the Sieve server failed.