# Download export file

According to the export product token returned by the [Query export task results](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/get), download the export product file to the local. For a complete understanding of the export file steps, refer to the [Export Cloud Documents Overview](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/export-user-guide).

## Notes

You need to download the exported file promptly. The exported file will be deleted 10 minutes after the export task is completed, making it unavailable for download.

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/drive/v1/export_tasks/file/:file_token/download
HTTP Method | GET
Rate Limit | [100 per minute](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.**<br>Enable any scope from the list | Export document(docs:document:export)<br>Export Docs documents(drive:export:readonly)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>or<br>`user_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer u-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)

### Path parameters

Parameter | Type | Description
---|---|---
file_token | string | The token of the exported file. This parameter value can be obtained by calling the [Query Export Task Result](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/get) interface.<br>**Example value**: "boxcnxe5OdjlAkNgSNdsJvabcef"

## Response

When the HTTP status code is 200, it means success

Return file binary stream

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
400 | 1060001 | param is invalis | Parameter error.

