---
updatedAt: 2025-06-08T14:11:01.000Z
agentTools:
  projectIndex: https://developers.kommo.com/llms.txt
---

# List of entity tags

This method allows to get the list of entity tags on the account

**Limitations**\
Method is available in correspondence to the user rights.

**Data type header when the request is successful**\
Content-Type: application/hal+json

**Data type header in case of an error**\
Content-Type: application/problem+json

**Response parameters**\
Method returns an array of tag objects. The properties of the tag object are listed below.

| Parameter | Data type | Description |
| :-------- | :-------- | :---------- |
| id        | int       | Tag ID      |
| name      | string    | Tag name    |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "kommo-api-references",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{subdomain}.kommo.com",
      "variables": {
        "subdomain": {
          "default": "subdomain"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v4/{entity_type}/tags": {
      "get": {
        "summary": "List of entity tags",
        "description": "This method allows to get the list of entity tags on the account",
        "operationId": "list-of-entity-tags",
        "parameters": [
          {
            "name": "entity_type",
            "in": "path",
            "description": "One of these: leads|contacts|companies",
            "schema": {
              "type": "string",
              "enum": [
                "leads",
                "contacts",
                "companies"
              ]
            },
            "required": true
          },
          {
            "name": "page",
            "in": "query",
            "description": "Sample page",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of the entities returned in the response of one request (limit – 250)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "Allows to perform a full text search by the tag name",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter[id][]",
            "in": "query",
            "description": "Filter by tag ID. Multiple tags can be passed",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "filter[name]",
            "in": "query",
            "description": "Filter by the exact tag name. Only one name can be passed",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Request successful": {
                    "value": "{\n    \"_page\": 1,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://example.kommo.com/api/v4/leads/tags?filter[id][]=2707&filter[id][]=2709&page=1&limit=50\"\n        },\n        \"next\": {\n            \"href\": \"https://example.kommo.com/api/v4/leads/tags?filter[id][]=2707&filter[id][]=2709&page=2&limit=50\"\n        }\n    },\n    \"_embedded\": {\n        \"tags\": [\n            {\n                \"id\": 2707,\n                \"name\": \"Site request\"\n            },\n            {\n                \"id\": 2709,\n                \"name\": \"Tech support\"\n            }\n        ]\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "_page": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "_links": {
                      "type": "object",
                      "properties": {
                        "self": {
                          "type": "object",
                          "properties": {
                            "href": {
                              "type": "string",
                              "example": "https://example.kommo.com/api/v4/leads/tags?filter[id][]=2707&filter[id][]=2709&page=1&limit=50"
                            }
                          }
                        },
                        "next": {
                          "type": "object",
                          "properties": {
                            "href": {
                              "type": "string",
                              "example": "https://example.kommo.com/api/v4/leads/tags?filter[id][]=2707&filter[id][]=2709&page=2&limit=50"
                            }
                          }
                        }
                      }
                    },
                    "_embedded": {
                      "type": "object",
                      "properties": {
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 2707,
                                "default": 0
                              },
                              "name": {
                                "type": "string",
                                "example": "Site request"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "No data found": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "User is not authorized": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```