---
title: "Download import file"
method: POST
path: "/leads/imports/{id}/download"
tags: ["Leads"]
---

# Download import file

`POST /leads/imports/{id}/download`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/leads/imports/{id}/download`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `file` 'ORIGINAL' | 'RESULTS'

## Response `200`

OK

- DownloadImportResponse
  - `fileName` string
  - `contentType` string
  - `url` string

---

[API](https://skmtc.dev/surense/apis/lead-api.md) - [All operations](https://skmtc.dev/surense/apis/lead-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/lead-api/revisions/e766c34d3234?raw)
