Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Signatures → Set Default Signature

AI-generated

Summary

Set a default signature for a specified mailbox

Inputs

  • authentication — Authentication method to use (OAuth2 or API Key)
  • path_mail_hosting_id (required) — Unique identifier of the mail hosting to request
  • path_mailbox_name (required) — Username (part before @) of the email address to set the signature for
  • bodyParameters — Additional body fields such as default reply signature ID and default signature ID
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator

Output shape

a single signature object

Returns the updated signature details on success; on error an error envelope is returned

Examples

Example 1: Set default signature for a mailbox using OAuth2 authentication

authentication: oauth2, path_mail_hosting_id: 12, path_mailbox_name: "john.doe", bodyParameters: {"body_default_signature_id": 5}, returnFullResponse: false

Links

Discussion