Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Auto Reply → Update Auto Reply

AI-generated

Summary

Update an existing mail auto-reply configuration.

Inputs

  • authentication — Authentication method: OAuth2 or API Key (default OAuth2).
  • path_mail_hosting_id (required) — Identifier of the mail hosting account to which the auto reply belongs.
  • path_auto_reply_id (required) — Identifier of the auto reply to update.
  • bodyParameters — Additional body fields (e.g., dont-reply-to list, start/end times, recurrence settings, visibility, etc.).
  • returnFullResponse — If true, the full response body is returned; otherwise only a success indicator.

Output shape

object representing the updated auto reply or a success indicator

When returnFullResponse is false only a success status is returned; when true the full response payload is included.

Examples

Example 1: Apply a new auto reply to a hosting account using OAuth2 authentication.

authentication=oauth2, path_mail_hosting_id=42, path_auto_reply_id=7, bodyParameters={body_name='Holiday', body_message='Out of office', body_is_visible=true}, returnFullResponse=false

Example 2: Configure a recurring auto reply with start/end dates and recurrence days.

authentication=apiKey, path_mail_hosting_id=10, path_auto_reply_id=3, bodyParameters={body_is_recurrent=true, body_started_at=1717020000, body_ended_at=1717378800, body_recurrent_days=[1,3,5]}, returnFullResponse=true

Links

Discussion