API · Assets · Sign a direct asset upload
Start the same direct-to-storage upload flow used by Simplified’s UI.
The client creates a UUID, calls this tool, then PUTs the local file bytes
directly to the returned signed URL using the declared MIME type and no
Simplified Authorization header. After the PUT succeeds, call
registerAsset with the returned metadata.
Authentication
AuthorizationApi-Key
Header authentication of the form Api-Key <token>
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
filename
Original filename including extension.
filetype
MIME type, for example image/png or video/mp4.
resource
Storage resource namespace. Use assets.
Allowed values:
resource_id
Client-generated UUID that becomes the registered asset ID.
Response
Signed upload URL and asset registration metadata
resource_id
asset
asset_url
signed
asset_key
asset_type
bucket_name
Errors
400
Bad Request Error
401
Unauthorized Error
