Tag conversation

Add or remove tags on one conversation.

POST https://cotlet.dev/api/v1/help-scout/conversations/{conversation_id}/tag

write

Adds the tags in add and removes the ones in remove, with the Add or remove conversation tags permission your account needs. A tag that does not exist is created by adding it, so check list_tags first. Returns the full tag list after the change. Tags reach no customer and one call undoes the change, so it does not ask for your OK.

Parameters

Parameters: tag_conversation
NameTypeDescription
conversation_id integer required integer Conversation number from search_conversations.
add array array Tag names to add.
remove array array Tag names to remove.

Request

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

Example response

JSON

{
  "conversation_id": 48244,
  "tags": [
    "billing"
  ],
  "added": [
    "billing"
  ],
  "removed": []
}

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.