Import Media from URL
Changed onThis endpoint imports a media file from a given URL. The import is processed asynchronously and will return a background_job_status object rather than the typical Media response object. You can poll the background job status endpoint to check on the progress of the import.
If no folder_id is provided, a new folder called "Untitled Folder" will be created and the imported media will be placed there.
The URL must be publicly accessible — Wistia's servers need to be able to fetch the file directly.
Note: imports from certain domains (e.g. vimeo.com, wistia.com) are not permitted.
Requires api token with one of the following permissions
Read, update & delete anything
Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/medias/import_url
- AuthHTTP bearer
Headers
Request body
Example request
{
"url": "https://example.com/video.mp4"
}Response
Successfully queued background job for URL import.
Changes
- info
endpoint added
- info