Get Media Upload URLs
get_upload_urlsGet presigned upload URLs for direct media file uploads to use in social media posts. Returns an uploadUrl for the file PUT and a publicUrl for post creation.
Instructions
Get presigned upload URLs for direct file uploads. Returns uploadUrl (PUT your file here) and publicUrl (use in create_post mediaUrls). This only mints a URL — you MUST PUT the file to uploadUrl and confirm a 2xx response before using publicUrl, otherwise create_post/bulk rejects it with "Media file(s) not found in storage". Prefer the upload_media tool, which performs the upload for you. For each file, provide fileName and mimeType. Supported types: image/jpeg, image/png, image/webp, video/mp4, video/quicktime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to get upload URLs for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | An object with urls: one { uploadUrl, publicUrl, key } entry per requested file. |