Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailbox Management → Add A Mailbox

AI-generated

Summary

Create a mailbox in Infomaniak mail hosting.

Inputs

  • authentication (required) — Authentication method, either OAuth2 or API Key.
  • path_mail_hosting_id (required) — The unique identifier (ID) of the mail hosting to request.
  • body_mailbox_name (required) — Name of the mailbox to create.
  • queryParameters — Optional additional query parameters for the request.
  • bodyParameters — Optional additional body fields for mailbox creation.
  • returnFullResponse — If true, returns the full API response instead of parsed items.

Output shape

Returns the created mailbox data. When returnFullResponse is enabled, returns the complete API response.

body_parameters.subOptions include body_link_to_current_user (boolean), body_note (string), body_password (string, deprecated), body_random_delivery_host (boolean), body_signature_model_id (string), and body_target (options: current_user, ksuite_user, other_user).

Examples

Example 1: Basic mailbox creation with OAuth2 authentication

authentication=oauth2, path_mail_hosting_id=12345, body_mailbox_name=test_mailbox

Links

Discussion