---
title: "Retrieve a file from a client v2"
method: GET
path: "/v2/query/file"
tags: ["Query"]
---

# Retrieve a file from a client v2

`GET /v2/query/file`

Download files from a client based on the file key. The key can be found in the response from the 'query client by id' call. It will be available in the flowData object, under the flow ID in whichthe end client uploaded the file, part of the the fileData attribute.

## Query parameters

- `key` string, required — Base64 encoded string

## Response `200`

Success

## Other responses

- `400` — Bad Request
- `404` — File Not found

---

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