Actions118
- Mailbox Management Actions
- Mailboxes Actions
- Mailboxes > Accesses > Devices Actions
- Mailboxes > Accesses > Invitations Actions
- Mailboxes > Accesses > Webmail Actions
- List User Access And Invitations
- Create Webmail Access
- Set The Primary Mailbox For The Authenticated User
- List Users Having Access
- List Of User Accesses For The Current User
- List Of User Accesses For A Account And A User
- Update Webmail Access
- Delete Webmail Access
- Delete Access To A Mailbox For The Current User
- Mailboxes > Aliases Actions
- Mailboxes > Auto Reply Actions
- Mailboxes > Folders Actions
- Mailboxes > Forwarding Actions
- Mailboxes > Sieve Filters Actions
- Mailboxes > Signatures Actions
- Mailboxes > Users Actions
- Mailing List Actions
- Mailing List > Subscribers Actions
- Service Mail > Auto Reply Actions
- Service Mail > Bimi Actions
- Service Mail > Filters Models Actions
- Service Mail > Preferences Actions
- Service Mail > Redirections Actions
- Service Mail > Redirections > Target Actions
- Service Mail > Signatures Templates Actions
Mailboxes > Signatures → Upload Image
AI-generatedSummary
Uploads an image to a mailbox signature in Infomaniak Mail.
Inputs
- authentication — Authentication method: OAuth2 or API Key.
- path_mail_hosting_id (required) — ID of the mail hosting containing the mailbox.
- path_mailbox_name (required) — Username part of the email address (mailbox name).
- body_image (required) — Base64-encoded image (png, jpg, jpeg, svg, gif) to upload.
- returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.
Output shape
JSON object representing the updated signature, or an error object on failure.
When returnFullResponse is true the complete API response is returned; otherwise the operation resolves with a success status and no body. Errors are reported as a JSON error payload.
Examples
Example 1: Upload a PNG signature for john@example.com on hosting 7 using OAuth2
{"authentication":"oauth2","path_mail_hosting_id":7,"path_mailbox_name":"john","body_image":"iVBORw0KG..."}
Example 2: Upload a JPG image via API Key for mailbox alice on hosting 12, requesting full response
{"authentication":"apiKey","path_mail_hosting_id":12,"path_mailbox_name":"alice","body_image":"...","returnFullResponse":true}