Add / Remove Contact Tag
PATCHhttps://public.leadpattern.com/customer/:waId/tags
Add or remove a single tag on a contact.
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Path Parameters
1 fieldwaIdstringrequired
Contact WhatsApp ID.
Body Parameters
2 fieldstagIdstringrequired
Tag ID.
actionenumrequired
Add or remove the tag.
Allowed values:
addremoveResponses
JSON Response
{
"type": "success",
"message": "Tags updated successfully."
}Sample Request Body
{
"tagId": "664abc123def456789012345",
"action": "add"
}
