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 > Aliases → Add An Alias
AI-generatedSummary
Add an alias to a mailbox on a specified Infomaniak hosting
Inputs
- authentication (required) — Choose authentication method: OAuth2 or API Key.
- path_mail_hosting_id (required) — The ID of the mail hosting to which the alias belongs.
- path_mailbox_name (required) — The username (part before @) of the email address for which the alias is created.
- body_alias (required) — The alias name to be added.
- returnFullResponse — When true, the full API response is returned; otherwise only a success indicator.
Output shape
JSON object representing the newly created alias (or success status if returnFullResponse is false)
If returnFullResponse is false only a success confirmation is returned; otherwise the full API response with alias details is provided.
Examples
Example 1: Create alias 'dev' for user 'john.doe' on hosting ID 123 using OAuth2
authentication: oauth2; path_mail_hosting_id: 123; path_mailbox_name: john.doe; body_alias: dev; returnFullResponse: true