---
title: "Upload or Import Media"
method: POST
path: "/"
tags: ["Upload or Import Media"]
---

# Upload or Import Media

`POST /`

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

## Response `200`

Successfully uploaded or imported.

- object — Response after successfully uploading or importing media
  - `id` integer — A unique numeric identifier for the media within the system.
  - `name` string — The display name of the media.
  - `type` string — A string representing what type of media this is.
  - `created` string, date-time — The date when the media was originally uploaded.
  - `updated` string, date-time — The date when the media was last changed.
  - `duration` number — Specifies the length (in seconds) for audio and video files.
  - `hashed_id` string — A unique alphanumeric identifier for this media.
  - `progress` number — A floating point value between 0 and 1 that indicates the progress of the processing for this file.
  - `thumbnail` object
    - `url` string
    - `width` integer
    - `height` integer

## Other responses

- `400` — Error due to reaching the video limit of your account or other issues.
- `401` — Authorization error. Check your access_token.

---

[API](https://skmtc.net/wistia/apis/data-api.md) · [All operations](https://skmtc.net/wistia/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wistia/data-api/versions/e40b3678d9d5/schema)
