---
title: "GET /api/videos/{id}/upload_token"
method: GET
path: "/api/videos/{id}/upload_token"
tags: ["videos"]
---

# GET /api/videos/{id}/upload_token

`GET /api/videos/{id}/upload_token`

## Request

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

Video details

## Path parameters

- `id` integer, required

## Response `200`

- VideoUploadToken
  - `uploadToken` string: Video upload token (used by fkupload/frontend)
  - `uploadUrl` string, required

## Other responses

- `400`
- `401`
- `403`
- `404`
- `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`
- **2025-08-18** `78815a398cbe`: 1 info
  - the `uploadUrl` response's property default value `http://localhost:1080/files/` was added for the status `200`
- **2025-08-17** `14b27b584fd2`: 8 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - …4 more
- **2025-07-09** `391b0262e68c`: 1 breaking, 1 warning, 2 info
  - removed the required property `upload_url` from the response with the `200` status
  - removed the optional property `upload_token` from the response with the `200` status
  - added the optional property `uploadToken` to the response with the `200` status
  - added the required property `uploadUrl` to the response with the `200` status
- **2025-05-31** `174284f5fd79`: 1 breaking, 1 warning, 2 info
  - removed the required property `uploadUrl` from the response with the `200` status
  - removed the optional property `uploadToken` from the response with the `200` status
  - added the optional property `upload_token` to the response with the `200` status
  - added the required property `upload_url` to the response with the `200` status

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/videos/:id/upload_token/get.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)
