Skip to main content
POST
Upload a File

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

checkfu-version
enum<string>
required
Available options:
2026-08-27
idempotency-key
string
Maximum string length: 255

Body

multipart/form-data

Exactly one file whose Content-Disposition filename is a basename other than . or ...

file
file
required

Response

Success

id
string
required
Pattern: ^file_[0-9a-f]{32}$
workspace_id
string
required
Pattern: ^wrkspc_[0-9a-f]{32}$
filename
string
required
Required string length: 1 - 255
Pattern: ^[^/\\\p{Cc}]+$
mime_type
string
required
Required string length: 1 - 255
Pattern: ^[^\p{Cc}]+$
size_bytes
integer
required
Required range: x >= 0
sha256
string
required
Pattern: ^sha256:[0-9a-f]{64}$
created_at
string
required