---
title: "Download external data file(s) associated with the document."
method: GET
path: "/documents/d/{did}/externaldata/{fid}"
tags: ["Document"]
---

# Download external data file(s) associated with the document.

`GET /documents/d/{did}/externaldata/{fid}`

* See [API Guide: Model Translation](https://onshape-public.github.io/docs/api-adv/translation/) for more details.
* If downloading an exported file, poll the `requestState` in the translation response and wait for a result of `DONE` before attempting to download the file. 
* Use the `resultExternalDataIds` from the translation response as the foreign id (`{fid}`) in this API.

## Path parameters

- `did` string, required
- `fid` string, required

## Headers

- `If-None-Match` string

## Response `200`

Success!

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
