Actions118
- Mailbox Management Actions
- Mailboxes Actions
- Mailboxes > Accesses > Devices Actions
- Mailboxes > Accesses > Invitations Actions
- Mailboxes > Accesses > Webmail Actions
- List User Access And Invitations
- Create Webmail Access
- Set The Primary Mailbox For The Authenticated User
- List Users Having Access
- List Of User Accesses For The Current User
- List Of User Accesses For A Account And A User
- Update Webmail Access
- Delete Webmail Access
- Delete Access To A Mailbox For The Current User
- Mailboxes > Aliases Actions
- Mailboxes > Auto Reply Actions
- Mailboxes > Folders Actions
- Mailboxes > Forwarding Actions
- Mailboxes > Sieve Filters Actions
- Mailboxes > Signatures Actions
- Mailboxes > Users Actions
- Mailing List Actions
- Mailing List > Subscribers Actions
- Service Mail > Auto Reply Actions
- Service Mail > Bimi Actions
- Service Mail > Filters Models Actions
- Service Mail > Preferences Actions
- Service Mail > Redirections Actions
- Service Mail > Redirections > Target Actions
- Service Mail > Signatures Templates Actions
Service Mail > Filters Models → Create A Filter Model
AI-generatedSummary
Create a filter model for Infomaniak mail service
Inputs
- authentication — Authentication method to use; either OAuth2 or API Key.
- path_mail_hosting_id (required) — Identifier of the mail hosting path; required.
- body_is_visible (required) — Visibility flag for the filter model body; required.
- body_name (required) — Name of the filter model; required.
- bodyParameters — Additional configurable fields for the filter model; includes actions, conditions, has all conditions, script.
- returnFullResponse — Boolean indicating whether to return the full response body; optional.
Output shape
a filter model object representing the created filter
Returns the created filter model with its generated ID and default fields; may include additional metadata.
Examples
Example 1: Create a visible filter model named "Newsletter" using OAuth2 authentication
authentication=oauth2; path_mail_hosting_id=123; body_is_visible=true; body_name=Newsletter; bodyParameters={}; returnFullResponse=false