Upload File
upload_fileUpload media to the user's Unsora library (available to every authenticated user). Pass a public source URL (preferred) or a base64 payload for small files (≤ ~7MB). The file is stored and recorded as an upload asset; the returned url can be used anywhere a media URL is accepted (create_post media, reference images, clipping input). In app-capable hosts the result renders as an interactive panel the user can see and act on — do NOT repeat its contents as a list or table in your reply; add only what the panel doesn't say.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the file to import (max 200MB). | |
| base64 | No | Base64 file contents (raw or data: URL). Use only for small files; prefer url. | |
| fileName | No | File name (required with base64, optional with url). | |
| contentType | No | MIME type override, e.g. image/png. |