---
title: "Get file information"
method: GET
path: "/files/{file_id}"
tags: ["Disputes"]
---

# Get file information

`GET /files/{file_id}`

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/files/{file_id}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `string` scopes: `disputes`, `disputes:view`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/files/:file_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve information about a file that was previously uploaded.

## Path parameters

- `file_id` string, required

## Response `200`

File information retrieved successfully

- FileResult: File was retrieved successfully
  - `id` string: The file identifier
  - `filename` string: The filename, including its extension
  - `purpose` 'dispute_evidence' | 'arbitration_evidence' | 'submitted_evidence': The purpose of the file. The value `submitted_evidence` represents the finalized evidence which was uploaded to the scheme portals.
  - `size` integer: The size of the file upload object (in bytes)
  - `uploaded_on` string, date-time: The date and time file was uploaded (in UTC)
  - `_links` object
    - `self` object: The file information retrieval URL
      - `href` string
    - `download` object: The temporary file download URL. This expires after 60 minutes
      - `href` string

## Other responses

- `401`: Unauthorized
- `404`: File not found
- `429`: Too many requests or duplicate request detected

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
