Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Auto Reply → Update Auto Reply Model

AI-generated

Summary

Update an existing auto‑reply model for a specific 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) — Username part of the email address for the mailbox.
  • path_model_id (required) — Identifier of the auto‑reply model to update.
  • body_is_active (required) — Flag indicating whether the auto‑reply is active.
  • bodyParameters — Additional fields for the auto‑reply configuration.
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.

Output shape

a single auto‑reply model object on success; error object on failure

When returnFullResponse is true the response includes the full API payload; otherwise only a status flag is returned. Errors follow the Infomaniak API error format.

Examples

Example 1: Enable a welcome auto‑reply for example@domain.com

authentication=oauth2, path_mail_hosting_id=12, path_mailbox_name=example, path_model_id=5, body_is_active=true, body_message=Welcome!, returnFullResponse=false

Example 2: Disable an auto‑reply and set it to end on a specific date

authentication=apiKey, path_mail_hosting_id=7, path_mailbox_name=support, path_model_id=3, body_is_active=false, body_ended_at=1735689600, returnFullResponse=true

Links

Discussion