---
title: "Download a file by ID"
method: GET
path: "/catalog-connector-files/actions/download"
tags: ["Catalog Connector Files"]
---

# Download a file by ID

`GET /catalog-connector-files/actions/download`

## Request

- Base URL: `https://api.fabric.inc/v3`
- URL: `https://api.fabric.inc/v3/catalog-connector-files/actions/download`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fabric/apis/catalog-connector/docs/catalog-connector-files/actions/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to retrieve the URL used to download a previously processed file. You can then make a GET request with this URL to retrieve the products data in CSV or JSONL format.
<Note> The download link is valid for five minutes. </Note>

## Query parameters

- `fileId` string, required

## Headers

- `x-fabric-tenant-id` string, required
- `x-fabric-request-id` string

## Response `200`

OK

- FileDownloadResponse: The URL generated in the response of the `Download a file by ID` request.
  - `location` string, uri: The URL to download an imported file.

## Other responses

- `400`: Request is invalid or malformed
- `401`: The requester is unauthorized.
- `403`: The user isn't allowed to perform this action.
- `404`: The requested entity isn't found
- `500`: Internal server error

---

[API](https://skmtc.dev/fabric/apis/catalog-connector.md) - [All operations](https://skmtc.dev/fabric/apis/catalog-connector/llms.txt) - [OpenAPI document](https://skmtc.dev/fabric/apis/catalog-connector/revisions/878ef9866561?raw)
