---
title: "View Upload"
method: GET
path: "/uploads/{id}"
tags: ["Uploads"]
deprecated: true
---

# View Upload

`GET /uploads/{id}`

> **Deprecated.**

View a user's upload by ID (deprecated).

## Response `200`

OK

- UploadGetResponse
  - `code` 'OK' | 'CREATED' | 'INVALID_CREDENTIALS' | 'INVALID_PARAMETERS' | 'INVALID_TOKEN' | 'UNAUTHORIZED_ACCESS' | 'MISSING_RESOURCE' | 'REQUEST_LIMIT_EXCEEDED' | 'SERVER_ERROR' | 'UNSUPPORTED_METHOD' | 'SERVER_UNAVAILABLE' | 'TIME_LIMIT_EXCEEDED' — Request status code
  - `message` string — Message response to the request
  - `requestId` string — Unique ID that is added to the body of every response for easy traceability of the request in our logs.
  - `data` Upload — Collection of files.
    - `id` string, required — Unique ID of this object
    - `createdAt` string, date-time, required — Date and time
    - `providerId` string, required — ID of the data provider, 'user-provided' if files are provided by the user, or 'tenant-provided' if files are provided via API
    - `userId` string, required — User ID associated with this archive
    - `type` string, required — Upload file type. You can get all types from `/fileTypes` api
    - `state` object, required
      - `status` 'STARTED' | 'ANALYZED' | 'UNSUPPORTED' | 'ERROR' | 'REVOKED', required — Upload status
      - `errorCode` 'MISSING_MANDATARY_FIELD' | 'MISSING_MANDATORY_FIELD' | 'INVALID_FIELD_FORMAT' | 'SYSTEM_ERROR' | 'null', nullable — Error code
      - `errorMessage` string, nullable — Error message
      - `updatedAt` string, date-time, required — Date and time
    - `rawFiles` RawFile[], required — Collection of files
      - `id` string, required — Unique ID of this object
      - `createdAt` string, date-time, required — Date and time
      - `name` string, required — File name
      - `subType` string, nullable, required — Type of document uploaded
      - `size` integer, required — File size in kilobytes
      - `format` 'PDF' | 'PNG' | 'JPG' | 'JPEG', required — File type (only JPEG, PNG, PDF, or JPG formats are supported)
      - `url` string, required — URL to access the file. URL will expire after 60 days

## Changes

- **2026-07-15** (v1) `3bcbeecafbab` — 10 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`
  - …6 more
- **2025-06-11** (v1) `a1f9b403ab62` — 11 info
  - removed the `BANK_STATEMENT` enum value from the `data/type` response property for the response status `200`
  - removed the `CLEARANCE_BARANGAY` enum value from the `data/type` response property for the response status `200`
  - removed the `CLEARANCE_NBI` enum value from the `data/type` response property for the response status `200`
  - removed the `CLEARANCE_POLICE` enum value from the `data/type` response property for the response status `200`
  - …7 more
- **2024-10-23** (v1) `b5d1c4e69089` — 1 warning, 2 info
  - added the new `GOVERNMENT_ID` enum value to the `data/type` response property for the response status `200`
  - removed the `ID_BACK` enum value from the `data/type` response property for the response status `200`
  - removed the `ID_FRONT` enum value from the `data/type` response property for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/smileapi/apis/smile-api/changes/uploads/:id/get.md)

---

[API](https://skmtc.dev/smileapi/apis/smile-api.md) · [All operations](https://skmtc.dev/smileapi/apis/smile-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smileapi/smile-api/revisions/a4930eb49f4d/schema)
