---
title: "Check Filename"
method: GET
path: "/api/check-filename"
---

# Check Filename

`GET /api/check-filename`

## Request

- Base URL: `https://uploadtourl.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uploadtourl.com/api/check-filename`
- Auth: none declared. Required headers: `x-api-key`

Pre-flight availability check for custom filenames (Pro/Business plan feature).
Checks if a custom filename already exists in the user's folder on S3/DB.

## Query parameters

- `filename` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/uploadtourl/apis/uploadtourl-api.md) · [All operations](https://skmtc.dev/uploadtourl/apis/uploadtourl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uploadtourl/apis/uploadtourl-api/revisions/9344586cc7e9?raw)
