---
title: "Verify an upload token"
method: POST
path: "/api/videos/{id}/upload_token/verify"
tags: ["videos"]
---

# Verify an upload token

`POST /api/videos/{id}/upload_token/verify`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`

Confirms that `uploadToken` authorizes an upload for this video. An invalid token deliberately produces the same response as an unknown video.

## Path parameters

- `id` integer, required

## Request body

- UploadTokenVerificationRequest: The upload capability presented by ingest for a specific video.
  - `uploadToken` string, required

## Response `204`

The upload token is valid.

## Other responses

- `400`
- `401`
- `403`
- `404`: The video does not exist or the upload token is invalid.
- `405`
- `406`
- `415`
- `500`

## Changes

- **2026-08-27** `3761c2b166bb`: 1 breaking, 1 info
  - for the `path` request parameter `id`, the type changed from `string` to `integer`
  - removed the pattern `^\d+$` from the `path` request parameter `id`
- **2026-08-18** `baf6b00d7559`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/videos/:id/upload_token/verify/post.md)

---

[API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [All operations](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/revisions/ebd4175e41fe?raw)
