Add or remove tags on contacts
tag_contactsAdd and/or remove tags across a set of contacts in one call — the fast path for "tag everyone who came from the September campaign". Give contact ids from list_contacts. Adds and removes are applied to each contact's existing tags, so untouched tags survive. Tags are what segments filter on, so this changes who is in a saved segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| remove | No | ||
| site_id | Yes | The site the contacts belong to | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| contact_ids | Yes |