---
title: "Download EHI-Export Task Results from S3"
method: GET
path: "/bridge/fhir/ehi-export/{taskId}/download/{fileId}"
tags: ["bridge"]
---

# Download EHI-Export Task Results from S3

`GET /bridge/fhir/ehi-export/{taskId}/download/{fileId}`

## Request

- Base URL: `https://api.connect.fastenhealth.com/v1`
- URL: `https://api.connect.fastenhealth.com/v1/bridge/fhir/ehi-export/{taskId}/download/{fileId}`
- Auth: HTTP basic

When provided with a `taskId` and `fileId`, this endpoint will return a signed URL to download the file in the `Location` header.
Your http client should be able to follow the redirect and download the file.

This signed URL will expire after a short period of time, so you should download the file immediately.
If you are unable to do so, you can request a new signed URL by calling this endpoint again.

<Warning>
This endpoint requires an API public id & private key for authentication. Do not expose these keys in the browser.
</Warning>

## Path parameters

- `taskId` string, required
- `fileId` string, required

## Response `200`

200 Response

---

[API](https://skmtc.dev/fastenhealth/apis/fasten-connect.md) - [All operations](https://skmtc.dev/fastenhealth/apis/fasten-connect/llms.txt) - [OpenAPI document](https://skmtc.dev/fastenhealth/apis/fasten-connect/revisions/e419b9ab5c4f?raw)
