Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Signatures Templates → Create A Template

AI-generated

Summary

Creates a new email signature template in the selected mail hosting account.

Inputs

  • authentication — Authentication method: OAuth2 or API Key.
  • path_mail_hosting_id (required) — Identifier of the mail hosting account where the template will be created.
  • body_content (required) — HTML content that defines the signature body.
  • body_name (required) — Human‑readable name of the signature template.
  • body_parameters — Additional configurable fields such as attributes, create signatures, created by, form data, name format, notify, position, status, and substitutions.
  • returnFullResponse — When true, the full created template is returned; otherwise only a summary is returned.

Output shape

JSON object representing the created signature template

If returnFullResponse is true, the response contains the complete template; otherwise a brief summary is returned. Errors are reported with an error object.

Examples

Example 1: Create a simple signature template.

authentication: oauth2; path_mail_hosting_id: 123; body_name: Marketing; body_content: ...; returnFullResponse: false

Example 2: Create a template that applies to all users and sends notifications.

authentication: apiKey; path_mail_hosting_id: 456; body_name: Welcome; body_parameters.body_create_signatures: true; body_parameters.body_notify: true; returnFullResponse: true

Example 3: Create a template with custom name format and position.

authentication: oauth2; path_mail_hosting_id: 789; body_name: Personal; body_name_format: first_last; body_parameters.body_position: top; body_content: ; returnFullResponse: false

Links

Discussion