---
title: "downloadErpImportFile"
method: GET
path: "/v2/erp/imports/{importId}/download"
tags: ["erp-imports"]
---

# downloadErpImportFile

`GET /v2/erp/imports/{importId}/download`

## Request

- Base URL: `https://integration-toolkit.sls.epilot.io`
- URL: `https://integration-toolkit.sls.epilot.io/v2/erp/imports/{importId}/download`
- Auth: HTTP bearer

A short-lived presigned URL that downloads the file this import was registered with — the import's own copy, so exactly what `:validate` and `:execute` read. The URL serves the file as an attachment under its original filename.

## Path parameters

- `importId` string, required

## Response `200`

A download link for the import's file

- ErpImportDownload
  - `download_url` string, uri, required: Presigned URL serving the file as an attachment. Valid until `expires_at`.
  - `filename` string, required: The filename the file was uploaded with.
  - `expires_at` string, date-time, required

## Other responses

- `403`: Forbidden: the token lacks a permission the operation requires, or it is invalid or expired — the API gateway refuses those with `{"message": "Forbidden"}` before the request reaches the API.
- `404`: The import does not exist, or its file is no longer available.
- `500`: Internal Server Error

## Changes

- **2026-09-30** `e779b3b3c6b4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/epilot/apis/integration-toolkit-api/changes/v2/erp/imports/:importId/download/get.md)

---

[API](https://skmtc.dev/epilot/apis/integration-toolkit-api.md) - [All operations](https://skmtc.dev/epilot/apis/integration-toolkit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/epilot/apis/integration-toolkit-api/revisions/7d07c4eb8d37?raw)
