Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Contact → Add to Segments

AI-generated

Summary

Add one or more segments to a specified contact in Mautic.

Inputs

  • Authentication — Choose the authentication method: either Credentials or OAuth2.
  • Contact ID (required) — The unique identifier of the contact to which segments will be added.
  • Segment IDs (required) — Select one or more segment IDs from the list or specify them using an expression to add to the contact.

Output shape

a single JSON object representing the response from Mautic API confirming the addition of the contact to the specified segments

The response is the raw API response from Mautic's endpoint for adding contacts to segments, which may include success status or error messages. No pagination applies since it is a single operation per contact and selected segments.

Examples

Example 1: Add contact 123 to segments 5 and 10

Set Contact ID to '123' and choose Segment IDs '5' and '10' from the picker.

Discussion