Create upload from URL
create_video_upload_from_urlDownloads a video or image from a public https:// URL into ShortSync and registers a NEW video_uploads row you can then reference from create_post_draft. Good for 'here's my Dropbox/Drive/S3 link, post it' flows. When the remote sends a generic Content-Type (Google Drive serves application/octet-stream), pass an explicit filename with the right extension (.mp4/.mov/.webm/.jpg/.png/.webp/.gif/etc.) so the type can be inferred. Server-side SSRF guards apply: https only, no private IPs, Content-Length required, 950 MB max for video / 20 MB for images. Returns the new video_upload_id.
DO NOT use this tool to set a cover / thumbnail on an existing video post. This creates a separate library entry, not a cover image. To set a cover on an existing post, call update_post with custom_thumbnail_url (public https URL to an image) or with custom_thumbnail_upload_id (a video_upload_id of an image already in the workspace).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename to store (max 255 chars, no path separators). Derived from the URL path when omitted. **Required** when the URL doesn't end in a recognizable extension (e.g. Google Drive `uc?export=download&id=…` links) because that's how we infer the media type when the remote sends application/octet-stream. | |
| source_url | Yes | Public https:// URL to download from. Direct-download links (Dropbox '?dl=1', S3, presigned URLs, Drive uc?export=download) work; pages that require login or JavaScript to reveal the file don't. | |
| workspace_id | Yes | Workspace to attach the upload to. Get it from list_workspaces. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |