Skip to main content
POST
Turn an uploaded file into an asset

Authorizations

Authorization
string
header
required

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

Body

application/json
ticket
string
required
Minimum string length: 1

Response

The asset; the same ticket returns the same asset.

asset_id
string
required
content_type
string | null
required
size_bytes
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
media
object
required
expires_at
string | null
required
request_id
string
required