Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>

Path Parameters

file_id
string
required

The ID of the pending file to finalize.

Response

Successful response

file_id
string
required

ID of the finalized file.

name
string
required

User-facing filename.

size_bytes
integer
required

Size of the stored file in bytes, as reported by storage.

content_type
string
required

MIME type of the stored file.

crc32c
string
required

Base64-encoded CRC32C checksum reported by storage.