Infomaniak Newsletter icon

Infomaniak Newsletter

Interact with Infomaniak Newsletter API

Campaigns → Create Campaign

AI-generated

Summary

Create a newsletter campaign in Infomaniak

Inputs

  • path_domain (required) — Unique identifier of the Domain
  • body_email_from_addr (required) — Email From Address
  • body_email_from_name (required) — Email From Name
  • body_lang (required) — Language tag for the campaign
  • body_subject (required) — Subject line of the campaign
  • authentication — Authentication method, defaults to OAuth2
  • bodyParameters — Collection of additional campaign settings including content, tracking, and recipients
  • returnFullResponse — If true, returns the full API response body; otherwise returns a confirmation summary

Output shape

Returns the API response for the created campaign. Full response body returned if returnFullResponse is enabled, otherwise a confirmation summary.

All required parameters (path_domain, body_email_from_addr, body_email_from_name, body_lang, body_subject) must be provided. Optional parameters include authentication method, a collection of body fields (content HTML, force send, preheader, recipients, template ID, tracking options, unsub link), and the returnFullResponse flag.

Examples

Example 1: Create a basic campaign using OAuth2

path_domain: 12345, body_email_from_addr: 'sender@example.com', body_email_from_name: 'Sender', body_lang: 'en_GB', body_subject: 'Newsletter Title', authentication: 'oauth2', returnFullResponse: false

Links

Discussion