---
title: "Download file reception"
method: GET
path: "/files/receptions/{fileId}"
tags: ["Files"]
---

# Download file reception

`GET /files/receptions/{fileId}`

Downloads the raw content of a file reception by `fileId`. The response content type matches the original file (e.g. XML, TXT, PDF). The `Content-Disposition` header names the file after `fileId`, not its original file name; use `fileName` from `GET /files/receptions` if you need the original name. Errors are reported with the same status code and message that occurred while retrieving the file, which may include statuses other than the ones listed here.

## Path parameters

- `fileId` string, required

## Response `200`

Binary file downloaded (content-type may vary: XML, TXT, PDF, etc.)

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — No file matches the given `fileId`.
- `422` — Validation Error

---

[API](https://skmtc.net/embat/apis/embat-api.md) · [All operations](https://skmtc.net/embat/apis/embat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/embat/embat-api/versions/36ca48bf4489/schema)
