Add tags to a conversation

Add existing tags to one conversation and keep the others.

POST https://cotlet.dev/api/v1/kustomer/conversations/{conversation_id}/tags

write

Adds tags to a conversation and keeps the ones already there. A conversation holds at most 20 tags and a tag name is at most 64 characters. Use names from list_tags: a deactivated tag cannot be added. Tags reach no customer and one call removes them again with remove_tags, so this call does not ask for confirmation. Your business rules and workflows run as usual after a tag change.

Parameters

Parameters: add_tags
NameTypeDescription
conversation_id string required string Conversation ID from search_conversations.
add_tags string[] required string[] Tag names to add.
remove_tags string[] string[] Tag names to remove.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/kustomer/conversations/conversation_8c41d2/tags \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"add_tags":["add tags"]}'
Python
result = client.call("kustomer", "add_tags", {"conversation_id":"conversation_8c41d2","add_tags":["add tags"]})
Node.js
const result = await cotlet.call('kustomer', 'add_tags', {"conversation_id":"conversation_8c41d2","add_tags":["add tags"]});
CLI
cotlet call kustomer add_tags --data '{"conversation_id":"conversation_8c41d2","add_tags":["add tags"]}'

Example response

JSON

{
  "conversation_id": "6718d2e4a1b2c3d4e5f60733",
  "tags": [
    "export",
    "bug",
    "billing"
  ],
  "updated_at": "2026-10-17T09:02:00Z"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.