Uploads
Upload media
Import a file into your Unsora media library from a public URL or base64 payload, ready to use in posts, clipping jobs, and generations.
POST
Imports a file into your Unsora media library. Every upload is stored and
recorded as an asset, and the returned
The asset
url can be used anywhere a media
URL is accepted — post media, reference
images, or clipping input.
Available to every authenticated user (no paid plan required).
Two ways to send the file
Provide exactly one of the two.
fileName is required with base64.
Examples
Response
type is derived from the MIME type: IMAGE, VIDEO, AUDIO, or
DOCUMENT.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json

