---
title: Get download file thumbnail address
description: GET /api/file/downloadThumbnail.do: Get the download file thumbnail address. Interface description, including path, method, parameters and return information.
slug: api-get-api-file-downloadthumbnail-do
lang: en
category: File API
category_order: 8
order: 110
api_method: GET
api_path: /api/file/downloadThumbnail.do
api_label: Get download file thumbnail address
keywords:
  - API
  - Get download file thumbnail address
  - /api/file/downloadThumbnail.do
---

# Get the download file thumbnail address

| Properties | Values |
| --- | --- |
| HTTP methods | `GET` |
| Interface path | `/api/file/downloadThumbnail.do` |
| Category | File API |

## Interface description

Interface path: `/api/file/downloadThumbnail.do`

HTTP method: `GET`


**HTTP method:** `GET`

#### URL parameters

Parameter name Comment (description)
fileId file id to be downloaded (required) string
version The version number of the file (optional) number
size is the size of the thumbnail to be displayed, taking the maximum value of width and height.
#### The return information is as follows

{"code":0,"success":true, "url":"File download address"}
The return value url is the download address of multiple files packaged.

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: File API.
