---
title: "Upload video from m3u8 url"
method: POST
path: "/m3u8"
---

# Upload video from m3u8 url

`POST /m3u8`

Imports a video into PandaVideo from an external M3U8 (HLS) playlist URL. Runs asynchronously — the video appears as DRAFT until the playlist is fully ingested.

## Request body

- object
  - `url` string, required
  - `title` string, required
  - `folder_id` string
  - `description` string
  - `video_id` string — uuid
  - `headers` object
    - `referer` string
    - `user-agent` string
  - `hls_encryption` boolean

## Response `200`

200

- object

## Other responses

- `400` — 400

---

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