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
Mailboxes > Forwarding → List Forwarding
AI-generatedSummary
List forwarding rules for a mail host and mailbox.
Inputs
- authentication — Authentication method for the Infomaniak API (either OAuth2 or API Key).
- path_mail_hosting_id (required) — The ID of the mail hosting to query.
- path_mailbox_name (required) — The username (part before @) of the mailbox whose forwarding rules to list.
- returnFullResponse — When true, returns the full API response; otherwise returns a simplified response.
Output shape
an array of forwarding rule objects
Each object contains forwarding configuration details such as enabled state, destination address, and rule settings.
Examples
Example 1: List forwarding rules for a mailbox using OAuth2 authentication.
authentication: oauth2, path_mail_hosting_id: 5, path_mailbox_name: "john.doe", returnFullResponse: false
Example 2: List forwarding rules with full API response for an API Key.
authentication: apiKey, path_mail_hosting_id: 3, path_mailbox_name: "jane.doe", returnFullResponse: true
Example 3: List forwarding rules for multiple mailboxes in a single workflow.
authentication: oauth2, path_mail_hosting_id: 2, path_mailbox_name: "info", returnFullResponse: false