Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailing List → Create A Mailing List

AI-generated

Summary

Create a new Infomaniak mailing list

Inputs

  • authentication — Authentication method to use for the Infomaniak API (OAuth2 or API Key)
  • path_mail_hosting_id (required) — Identifier of the mail hosting (required)
  • body_info (required) — Additional info for the mailing list
  • body_is_reply_to_forced (required) — Whether the sender's email is replaced by the mailing list email
  • body_max_message_size (required) — Maximum message size allowed
  • body_moderators (required) — Moderator identifiers
  • body_name (required) — Name that identifies the mailing list
  • body_should_send_notifications (required) — Whether the mailing list should send welcome/goodbye messages
  • body_subject (required) — Subject of the mailing list
  • body_use_reply_to (required) — Whether responses use the mailing list email
  • body_who_can_send (required) — Who can send emails in the mailing list (options 0‑5)
  • body_who_can_subscribe (required) — Subscription policy for the mailing list (options 0‑2)
  • bodyParameters — Additional body fields such as welcome/goodbye messages and language
  • returnFullResponse — Whether to return the full response body

Output shape

a single mailing list record

If returnFullResponse is true the full response is returned; otherwise only a success status is provided.

Examples

Example 1: Create a new newsletter mailing list

authentication: oauth2; path_mail_hosting_id: 5; body_name: 'Newsletter'; body_subject: 'Weekly Digest'; body_who_can_send: 0; body_who_can_subscribe: 0; returnFullResponse: false

Links

Discussion