---
title: "Download the uploaded import file"
method: GET
path: "/settings/data-transfer/imports/{id}/download"
tags: ["Admin Settings: Data Transfer"]
---

# Download the uploaded import file

`GET /settings/data-transfer/imports/{id}/download`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/settings/data-transfer/imports/{id}/download`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/settings/data-transfer/imports/:id/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Streams the original uploaded file as an attachment. Send `Accept: application/octet-stream`. 404 when no file is present.

## Path parameters

- `id` integer, required

## Response `200`

The uploaded file is downloaded.

## Other responses

- `404`: Import or file not found.

---

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