Upload or Import Media from a local file
upload_media_fileUpload local media files or import media from a web URL into Wistia after 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 |
|---|---|---|---|
| file | No | Absolute regular local file, no symlinks, at most 250 MiB locally. Bytes are sent after explicit confirmation. | |
| 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. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |