Upload or Import Media
upload_mediaUpload local media files or import media from a web URL into Wistia, with optional naming, project assignment, and write confirmation.
Instructions
Endpoint to upload media files from a local system or import from a web URL.
Use
multipart/form-datawith afileparameter to upload from local systemUse
application/x-www-form-urlencodedwith aurlparameter to import from web URL Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The publicly accessible web location of the media file to import. | |
| name | No | A display name to use for the media in Wistia. | |
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific user-requested write. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| contact_id | No | A Wistia contact id. | |
| project_id | No | The hashed id of the project to upload media into. | |
| description | No | A description to use for the media in Wistia. | |
| low_priority | No | Inform the encoding service that this upload can be considered lower priority than others. This is especially useful for platform customers doing bulk uploads or migrations. Setting this to "false" has no effect. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |