Contacts
Manage Tags
Add or remove tags from a contact.
Add Tags
POST /api/v1/contacts/:id/tags
Add tags to a contact. Duplicates are automatically ignored.
| Parameter | Type | Required | Description |
|---|---|---|---|
tags | string[] | Yes | Tags to add |
curl -X POST /api/v1/contacts/uuid-here/tags \
-H "x-api-key: mndr_..." \
-H "Content-Type: application/json" \
-d '{ "tags": ["vip", "early-adopter"] }'{
"contact": {
"id": "uuid",
"tags": ["customer", "vip", "early-adopter"],
...
}
}Remove Tags
DELETE /api/v1/contacts/:id/tags
Remove specific tags from a contact. Tags not present on the contact are ignored.
| Parameter | Type | Required | Description |
|---|---|---|---|
tags | string[] | Yes | Tags to remove |
curl -X DELETE /api/v1/contacts/uuid-here/tags \
-H "x-api-key: mndr_..." \
-H "Content-Type: application/json" \
-d '{ "tags": ["churned"] }'