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

# Get the download file address

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

## Interface description

Interface path: `/api/file/getFileDownloadUrl.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
#### The return information is as follows

{"code":0,"success":true,"type":"File type","url":"File download address"}

## 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.
