API Reference
Create User Media
Upload media to your library from a URL for use in video projects as B-roll
POST
Create User Media
Upload video or image files to your user media library by providing a URL. This media can then be referenced in your video projects using the returneduserMediaId.
This endpoint requires authentication and has a rate limit of 500 requests per
hour.
Authentication
Your Submagic API key starting with
sk-Request Body
Public URL to your video or image file. Must be a valid URL and accessible
without authentication.
Response
Unique identifier for the uploaded media (UUID format). Use this ID to
reference the media in your video projects.
Using User Media in Projects
Once you have auserMediaId, you can reference it in the items array when creating or uploading projects:
Error Responses
Returned when
url is a Google Drive folder or other Drive link that doesn’t
point to a single file. Share a direct file link with access set to “Anyone
with the link”.Returned when
url can’t be reached or serves a web page instead of a media
file (e.g. a broken link, a login wall, or a share page rather than a direct
download).
