Upload or Import Media
upload_mediaUpload local media files or import media from a web URL into Wistia using multipart or URL-encoded requests.
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 | Set true only when the user asked for exactly this action. | |
| 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 | ||
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |