Upload or Import Media

Endpoint to upload media files from a local system or import from a web URL.

  • Use multipart/form-data with a file parameter to upload from local system
  • Use application/x-www-form-urlencoded with a url parameter to import from web URL
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
string

The hashed id of the project to upload media into.

string
length ≤ 255

A display name to use for the media in Wistia.

string

A description to use for the media in Wistia.

integer

A Wistia contact id.

string
deprecated

A 64 character hex string. This parameter can be found on your API access page OR can be the token you received from authenticating via Oauth2. Note this approach is legacy and discouraged. We recommend using Bearer Token authentication.

uri
required

The publicly accessible web location of the media file to import.

boolean

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.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json