---
updatedAt: 2025-07-15T09:58:03.000Z
agentTools:
  projectIndex: https://developers.kommo.com/llms.txt
---

# List of entity field groups

The method allows you to get a list of entity field groups in the account.

**Limitations**\
The method is available to all users of the account.

**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**\
The method returns a collection of field group objects.

| Parameter      | Data type | Description                                                                             |
| :------------- | :-------- | :-------------------------------------------------------------------------------------- |
| id             | int       | Field group ID                                                                          |
| name           | string    | Field group name                                                                        |
| sort           | string    | Field group sorting in an entity card                                                   |
| entity\_type   | int       | Type of the entity (leads/contacts/companies)                                           |
| is\_predefined | int       | Defines if the group is default for the entity. Such groups cannot be deleted           |
| type           | string    | Field group type (`linked_group` – product groups, `custom_field_group` – field groups) |
| fields         | array     | An array of fields IDs of the group                                                     |

# 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}/custom_fields/groups": {
      "get": {
        "description": "",
        "operationId": "get_apiv4{entity_type}custom_fieldsgroups",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "examples": {
                  "The request is successful": {
                    "summary": "The request is successful",
                    "value": {
                      "_total_items": 2,
                      "_embedded": {
                        "custom_field_groups": [
                          {
                            "id": "default",
                            "name": "Main",
                            "is_predefined": true,
                            "type": "custom_field_group",
                            "fields": [],
                            "entity_type": "leads",
                            "sort": 0,
                            "_links": {
                              "self": {
                                "href": "https://subdomain.kommo.com/api/v4/leads/custom_fields/groups/default"
                              }
                            }
                          },
                          {
                            "id": "leads_29741591099841",
                            "name": "Field group",
                            "is_predefined": false,
                            "type": "custom_field_group",
                            "fields": [],
                            "entity_type": "leads",
                            "sort": 1,
                            "_links": {
                              "self": {
                                "href": "https://subdomain.kommo.com/api/v4/leads/custom_fields/groups/leads_29741591099841"
                              }
                            }
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "examples": {
                  "Incorrect data sent. Details are available in the response body.": {
                    "value": "{}",
                    "summary": "Incorrect data sent. Details are available in the response body."
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "examples": {
                  "The request is successful": {
                    "value": ""
                  },
                  "User is not authorized": {
                    "value": "{}",
                    "summary": "User is not authorized"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "entity_type",
            "in": "path",
            "required": true,
            "description": "Type of the entity. Might be: leads/contacts/comapnies",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```