---
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}`

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.net/fastenhealth/apis/fasten-connect.md) · [All operations](https://skmtc.net/fastenhealth/apis/fasten-connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fastenhealth/fasten-connect/revisions/e8a1d9b54053/schema)
