---
title: "Get file upload"
method: GET
path: "/v1/file_uploads/{file_upload_id}"
tags: ["File Uploads"]
---

# Get file upload

`GET /v1/file_uploads/{file_upload_id}`

Get file upload by the file upload ID.

## Path parameters

- `file_upload_id` string, required

## Parameters

- `#/paths/~1v1~1file_upload_configs/post/parameters/0` — unresolved $ref

## Response `200`

OK

- object
  - `status` Status — unresolved $ref
  - `data` object
    - `file_upload_id` string — The unique file upload identifier. Prefix is "fiu" in production and "sbx_fiu" in sandbox.
    - `file_upload_config_id` string — The unique file upload config identifier. Prefix is "fic" in production and "sbx_fic" in sandbox.
    - `filename` string — Name of the file.
    - `type` Type — unresolved $ref
    - `status` 'AVAILABLE' | 'FAILED' — The status of the file upload.
    - `failure_reason_code` 'INVALID_FILE' | 'INVALID_FILE_SIZE' | 'INVALID_FILE_TYPE' | 'INVALID_FILE_PROTECTED' | 'INTERNAL_ERROR' — The reason a file upload failed. `INVALID_FILE`: file upload failed because the file is invalid for an unspecified reason `INVALID_FILE_SIZE`: file upload failed because it was too large (max: 25MB) `INVALID_FILE_TYPE`: file upload failed because it was not an allowed type (`image/jpeg`,`image/png`,`image/tiff`,`application/pdf`) `INVALID_FILE_PROTECTED`: file upload failed because it was password-protected `INTERNAL_ERROR`: file upload failed because an internal error
    - `created_at` CreatedAt — unresolved $ref
    - `updated_at` CreatedAt — unresolved $ref
  - `errors` Errors — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — Resource not found.
- `5XX` — unresolved $ref

---

[API](https://skmtc.dev/rainforestpay/apis/authentication.md) · [All operations](https://skmtc.dev/rainforestpay/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rainforestpay/authentication/revisions/529a0dab0f90/schema)
