Skip to main content
POST
Confirm an uploaded file

Authorizations

x-api-key
string
header
required

API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.

Path Parameters

id
string
required

The id POST /v1/files returned

Response

The confirmed file

id
string
required

The id of the file.

Example:

"file_4dGTkmBdnTnU9vV3KZ2Hcz"

object
enum<string>
required

Always file.

Available options:
file
Example:

"file"

purpose
enum<string>
required

What the file is for.

Available options:
product_file
Example:

"product_file"

filename
string
required

The name buyers download the file under.

Example:

"ebook.epub"

content_type
string
required

The media type of the file.

Example:

"application/epub+zip"

size
integer<int64>
required

The size of the stored file in bytes.

Example:

52000

sha256
string | null
required

The SHA-256 of the stored bytes, base64-encoded, as storage computed it. Compare it before uploading a file again.

Example:

"n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg="

created_at
string<date-time>
required

When the file was confirmed (ISO 8601).

Example:

"2026-11-17T10:05:00.000Z"