Endpoint
Overview
Create media records from file URLs. Use this after uploading files directly to blob storage via the presigned URL endpoint, or to reference media from external URLs. The API will:- Determine the media type from the URL extension (video, image, or audio)
- Create a database record pointing to the provided URL
This endpoint does NOT re-upload files. It creates database records that reference the provided URLs directly. Make sure your URLs are publicly accessible and permanent.
Request Body
Array of file URLs to create media from. Always provide as an array, even for single files.
Optional array of original filenames, parallel to the
urls array. If not provided, filenames are extracted from the URLs.Optional array of preview/thumbnail URLs, parallel to the
urls array. Useful for providing video thumbnails.Optional tag to apply to all created media
Response
Upload result object
