---
title: "Get a version of file"
method: GET
path: "/v1.0/files/{file_uuid}/versions"
---

# Get a version of file

`GET /v1.0/files/{file_uuid}/versions`

## Request

- Base URL: `https://your-drive.kommo.com`
- URL: `https://your-drive.kommo.com/v1.0/files/{file_uuid}/versions`
- Auth: OAuth 2

A method that allows you to get file versions.

## Path parameters

- `file_uuid` string, required

## Headers

- `Content-Type` string

## Response `200`

200

- object
  - `_count` integer
  - `_embedded` object
    - `versions` object[]
      - `_links` object
        - `download` object
          - `href` string
        - `self` object
          - `href` string
      - `created_at` integer
      - `created_by` object
        - `type` string
        - `id` integer
      - `file_uuid` string
      - `is_main` boolean
      - `metadata` object
        - `extension` string
        - `mime_type` string
      - `name` string
      - `previews` unknown
      - `sanitized_name` string
      - `size` integer
      - `source_id` unknown
      - `type` string
      - `updated_at` integer
      - `updated_by` object
        - `type` string
        - `id` integer
      - `uuid` string
  - `_links` object
    - `self` object
      - `href` string

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404

---

[API](https://skmtc.dev/kommo/apis/files-api.md) - [All operations](https://skmtc.dev/kommo/apis/files-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/files-api/revisions/61d4a8f2d8c9?raw)
