Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Redirections > Target → Get All Targets

AI-generated

Summary

Retrieve all redirection targets for a given mail hosting.

Inputs

  • authentication — Authentication method: OAuth2 or API Key.
  • path_mail_hosting_id (required) — ID of the mail hosting whose redirection targets are requested.
  • path_redirection_id (required) — Specific redirection ID; if omitted returns all targets for the hosting.
  • returnFullResponse — If true, the full API response is returned instead of just the target list.

Output shape

an array of redirection target objects

Each object contains target identifier and configuration details; exact fields depend on the Infomaniak API.

Examples

Example 1: Fetch all targets for a mail hosting using OAuth2

authentication: oauth2; path_mail_hosting_id: 12345; returnFullResponse: false

Links

Discussion