Contact Tags
Contact tags group inbox contacts for segments, broadcasts and automations. To tag a contact, use Add tags to a contact; these endpoints manage the list of tags itself.
API region
api.whautomate.comList contact tags
GET
/v1/contactTagsLists the contact tags of the account.
Headers
x-api-keystringrequiredYour Whautomate API key.
Query parameters
limitintegerResults per page (default 10, max 100).
pageintegerPage number, from 1 (default 1).
searchTextstringText to search for.
Response 200
idstringnamestringrequiredcanonicalstringcreatedAtstringupdatedAtstringRequest
curl -X GET "https://api.whautomate.com/v1/contactTags?limit=3" \
-H "x-api-key: YOUR_API_KEY"
Response 200
[
{
"id": "fxuL6is4yA",
"name": "lead",
"canonical": "lead",
"createdAt": "2026-10-29T11:43:28.242Z",
"updatedAt": "2026-10-29T11:43:28.242Z"
},
{
"id": "c21JPV0a5L",
"name": "booking",
"canonical": "booking",
"createdAt": "2026-10-29T11:43:28.260Z",
"updatedAt": "2026-10-29T11:43:28.260Z"
}
]
Create a contact tag
POST
/v1/contactTagsCreates a contact tag.
Headers
x-api-keystringrequiredYour Whautomate API key.
Body
idstringnamestringrequiredcanonicalstringcreatedAtstringupdatedAtstringResponse 200
idstringnamestringrequiredcanonicalstringcreatedAtstringupdatedAtstringRequest
curl -X POST "https://api.whautomate.com/v1/contactTags" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Corporate enquiry"
}'
Response 201
{
"id": "Kk6rwL3z45",
"name": "Corporate enquiry",
"createdAt": "2026-10-29T12:40:11.705Z",
"canonical": "corporate enquiry",
"updatedAt": "2026-10-29T12:40:11.705Z"
}
Get a contact tag
GET
/v1/contactTags/{contactTagId}Gets one contact tag by id.
Headers
x-api-keystringrequiredYour Whautomate API key.
Path parameters
contactTagIdstringrequiredResponse 200
idstringnamestringrequiredcanonicalstringcreatedAtstringupdatedAtstringRequest
curl -X GET "https://api.whautomate.com/v1/contactTags/Kk6rwL3z45" \
-H "x-api-key: YOUR_API_KEY"
Response 200
{
"id": "Kk6rwL3z45",
"name": "Corporate enquiry",
"canonical": "corporate enquiry",
"createdAt": "2026-10-29T12:40:11.705Z",
"updatedAt": "2026-10-29T12:40:11.705Z"
}
Delete a contact tag
DEL
/v1/contactTags/{contactTagId}Deletes a contact tag.
Headers
x-api-keystringrequiredYour Whautomate API key.
Path parameters
contactTagIdstringrequiredResponse 200
successbooleanRequest
curl -X DELETE "https://api.whautomate.com/v1/contactTags/Kk6rwL3z45" \
-H "x-api-key: YOUR_API_KEY"
Response 200
{
"success": true
}