---
title: "Check if a specific file is already on the storage for shares"
method: GET
path: "/v1/shares/storages/{storage_id}/files/"
---

# Check if a specific file is already on the storage for shares

`GET /v1/shares/storages/{storage_id}/files/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/shares/storages/{storage_id}/files/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/shares/storages/:storage_id/files/get.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_write_files

## Path parameters

- `storage_id` string, required

## Query parameters

- `directory_path` string, required
- `name` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

File exists

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: Can only be used on shares
- `404`: No files found
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
