List labels

Labels of your account with their description.

GET https://cotlet.dev/api/v1/chatwoot/labels

read

Returns every label with its title and description. Labels are account-specific and are created in Settings > Labels, so add_labels uses only names from this list. Label names hold letters, numbers, hyphens and underscores.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/chatwoot/labels \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("chatwoot", "list_labels")
Node.js
const result = await cotlet.call('chatwoot', 'list_labels');
CLI
cotlet call chatwoot list_labels

Example response

JSON

{
  "labels": [
    {
      "title": "billing",
      "description": "Payment and invoice questions"
    },
    {
      "title": "refund",
      "description": "Customer asks for money back"
    },
    {
      "title": "bug",
      "description": "Something does not work"
    }
  ]
}

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.