v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Get files attached to an entity

The method allows to get files attached to a chosen entity.

get/api/v4/{entity}/{entity_id}/files

Path parameters

entitystring required

leads/contacts/companies

entity_idinteger required

ID of the entity

Query parameters

limitinteger

Number of files returned per request

before_idinteger

A list of files with IDs less than set

Response

200

Example response

{
  "_links": {
    "self": {
      "href": "https://subdomain.kommo.com/api/v4/leads/1852926/files?limit=50"
    }
  },
  "_embedded": {
    "files": [
      {
        "file_uuid": "e2f4f971-ddjwdjee4f-45c9-9b2b-5c3f3854002e",
        "id": 7590970
      }
    ]
  }
}