---
title: "Create a transcoding job"
method: POST
path: "/api/v1/videos/{id}/transcoding"
tags: ["Video Transcoding"]
---

# Create a transcoding job

`POST /api/v1/videos/{id}/transcoding`

## Path parameters

- `id` union, required
  - integer
  - string, uuid
  - string — translation of a uuid v4 with a bigger alphabet to have a shorter uuid

## Request body

- object
  - `transcodingType` 'hls' | 'webtorrent', required

## Response `204`

successful operation

## Other responses

- `404` — video does not exist

---

[API](https://skmtc.net/cpy/apis/peertube.md) · [All operations](https://skmtc.net/cpy/apis/peertube/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpy/peertube/revisions/efe11b159e43/schema)
