Infomaniak Newsletter icon

Infomaniak Newsletter

Interact with Infomaniak Newsletter API

Subscribers → Assign

AI-generated

Summary

Assigns subscribers to groups, applies a filter, or sets a segment within a specific Infomaniak Newsletter domain.

Inputs

  • authentication (required) — Authentication method; either OAuth2 or API Key.
  • path_domain (required) — Numeric ID of the domain whose subscribers will be modified.
  • body_select (required) — JSON selector identifying the subscribers to assign (e.g., an array of subscriber IDs or email addresses).
  • bodyParameters.body_filter — Optional JSON filter to narrow the subscriber set before assignment.
  • bodyParameters.body_groups — Optional JSON array of group IDs or group names to assign the selected subscribers to.
  • bodyParameters.body_segment — Optional string specifying a segment to assign the selected subscribers to.
  • returnFullResponse — When true, the node returns the full raw API response; otherwise it returns only the processed data.

Output shape

object

Contains the result of the assign operation. If returnFullResponse is false, the output is the processed data returned by the API; if true, the entire API response (including headers and status) is returned.

Examples

Example 1: Assign selected subscribers to a group

Set authentication to OAuth2, provide domain ID, set body_select to an array of subscriber IDs, and under Additional Body Fields set body_groups to [123].

Links

Discussion