Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Redirections > Target → Add New Target

AI-generated

Summary

Adds a new mail redirection target by sending the provided parameters to the Infomaniak Mail API.

Inputs

  • authentication — Authentication method (OAuth2 or API Key).
  • path_mail_hosting_id (required) — Identifier of the mail hosting where the redirection belongs.
  • path_redirection_id (required) — Identifier of the redirection to which the target is added.
  • body_address (required) — Email address that the redirection forwards to.
  • returnFullResponse — When true, returns the full API response; otherwise returns a success indicator.

Output shape

a single target object representing the newly created redirection target

The response includes the created target details; errors follow the standard n8n error format.

Examples

Example 1: Add a forwarding target for a hosting using OAuth2

authentication: oauth2, path_mail_hosting_id: "host_01", path_redirection_id: "redir_12", body_address: "mail@example.com", returnFullResponse: true

Links

Discussion