Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Contact → Remove from Campaigns

AI-generated

Summary

Remove a specified contact from one or more campaigns in Mautic by providing the contact ID and the list of campaign IDs to remove.

Inputs

  • Authentication — Select the authentication method to use with Mautic API, either Credentials or OAuth2.
  • Contact ID (required) — Specify the ID of the contact to remove from campaigns.
  • Campaign IDs (required) — Select one or more campaigns from which to remove the contact, either from the provided list or by specifying IDs using an expression.

Output shape

The operation returns a JSON object indicating the success or failure for the removal action, typically containing confirmation data or error details.

The output includes a batch success response showing which campaigns the contact was removed from. Errors during removal are included if applicable. The operation is performed per input item and requires valid contact and campaign IDs.

Examples

Example 1: Remove contact with ID 123 from campaigns with IDs 10 and 20

Set Contact ID to '123' and Campaign IDs to ['10', '20']

Discussion