---
title: "File: Show"
method: GET
path: "/merchants/{merchant_id}/files/{id}"
tags: ["Platform Model"]
---

# File: Show

`GET /merchants/{merchant_id}/files/{id}`

## Request

- Base URL: `https://komoju.com/api/v1`
- URL: `https://komoju.com/api/v1/merchants/{merchant_id}/files/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/komoju/apis/komoju-api/docs/merchants/:merchant_id/files/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves an existing file of the current merchant.

## Path parameters

- `merchant_id` string, required: A unique 25-character alphanumeric resource identifier.
- `id` string, required

## Response `200`

Creates a new file for its submerchant

- MerchantFile
  - `id` string, required: Unique identifier for this file.
  - `resource` string, required: Resource type name, always "file".
  - `filename` string, required: Original filename of the uploaded file.
  - `size` integer, required: File size in bytes.
  - `mime_type` string, required: MIME type of the uploaded file (e.g. "application/pdf").
  - `created_at` string, date-time, required: Timestamp when the file was uploaded.
  - `updated_at` string, date-time, required: Timestamp when the file record was last updated.

---

[API](https://skmtc.dev/komoju/apis/komoju-api.md) - [All operations](https://skmtc.dev/komoju/apis/komoju-api/llms.txt) - [OpenAPI document](https://skmtc.dev/komoju/apis/komoju-api/revisions/65483c40ba32?raw)
