Update client tags

Add or remove tags on a client in the CRM section.

PATCH https://cotlet.dev/api/v1/jivochat/clients/{client_id}/tags

write

update_client_tags changes only the tags you name and leaves the rest of the client card alone. Tags are how managers pick which clients to work on each day, so a rule such as "tag every client who asked about wholesale" feeds that list. The change reaches nobody outside your team and one more call undoes it, so it does not wait for your OK.

Parameters

Parameters: update_client_tags
NameTypeDescription
client_id string required string Client ID from list_clients.
add_tags string[] string[] Tags to add.
remove_tags string[] string[] Tags to remove.

Request

cURL
curl -X PATCH https://cotlet.dev/api/v1/jivochat/clients/client_8c41d2/tags \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("jivochat", "update_client_tags", {"client_id":"client_8c41d2"})
Node.js
const result = await cotlet.call('jivochat', 'update_client_tags', {"client_id":"client_8c41d2"});
CLI
cotlet call jivochat update_client_tags --data '{"client_id":"client_8c41d2"}'

Example response

JSON

{
  "client_id": "cl_3a91",
  "tags": [
    "wholesale",
    "follow-up"
  ]
}

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.