Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Signatures Templates → Upload Image

AI-generated

Summary

Uploads an image to be used as a signature template for a mail hosting account.

Inputs

  • authentication (required) — Authentication method to use (OAuth2 or API Key).
  • path_mail_hosting_id (required) — Identifier of the mail hosting to which the signature belongs.
  • body_image (required) — Base64-encoded image content (PNG, JPG, JPEG, SVG, or GIF).
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.

Output shape

JSON object representing the API response, typically containing a success status or uploaded file URL.

When returnFullResponse is false, only a simple success flag is returned; otherwise the complete response is provided.

Examples

Example 1: Upload a new signature image for a specific mail hosting

authentication=oauth2, path_mail_hosting_id=12345, body_image=, returnFullResponse=true

Links

Discussion