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 → Add A Forwarding
AI-generatedSummary
Add a forwarding rule to an Infomaniak mailbox
Inputs
- authentication — Authentication method: OAuth2 or API key
- path_mail_hosting_id (required) — Numeric ID of the mail hosting containing the mailbox
- path_mailbox_name (required) — Mailbox username (part before '@') to which the forwarding rule applies
- body_redirect_address (required) — Email address to which incoming messages will be forwarded
- returnFullResponse — If true, the full API response is returned; otherwise only success status
Output shape
JSON object confirming creation of the forwarding rule, including the new rule's identifier and details
May contain error information if the request fails; otherwise a simple success response.
Examples
Example 1: Configure forwarding for user@example.com to forward@example.org using OAuth2
authentication: OAuth2; path_mail_hosting_id: 123; path_mailbox_name: 'user'; body_redirect_address: 'forward@example.org'; returnFullResponse: false