---
title: "POST get-file-data-for-thumbnail"
method: POST
path: "get-file-data-for-thumbnail"
---

# POST get-file-data-for-thumbnail

`POST get-file-data-for-thumbnail`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/get-file-data-for-thumbnail`
- Auth: none declared

Retrieves the data for generate the thumbnail of the file. Used
mainly for render thumbnails on dashboard.

## Request body

- object
  - `fileId` string, uuid, required: UUID formatted string

## Response `default`

A default response

- object
  - `id` string, uuid, required: UUID formatted string
  - `revn` integer, required: integer
  - `page` object, required
  - `stripFramesWithThumbnails` boolean: boolean

---

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