Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Segment → Add Contact

AI-generated

Summary

Add a specific contact to a specified segment in Mautic.

Inputs

  • Authentication — Choose between Credential-based or OAuth2 authentication method.
  • Segment ID (required) — The unique identifier of the segment to which the contact will be added.
  • Contact ID (required) — The unique identifier of the contact to add to the segment.

Output shape

a single record

Returns the API response indicating success or failure of adding the contact to the segment; no pagination or multiple items.

Examples

Example 1: Add contact '123' to segment '456' using OAuth2 authentication

Set Authentication to OAuth2, Segment ID to '456', Contact ID to '123'.

Discussion