---
title: "Get presigned URL to upload video"
method: POST
path: "/public/get-presigned-url-for-video-upload"
tags: ["Video"]
---

# Get presigned URL to upload video

`POST /public/get-presigned-url-for-video-upload`

## Request

- Base URL: `https://backend.codedamn.com/api`
- URL: `https://backend.codedamn.com/api/public/get-presigned-url-for-video-upload`
- Auth: API key in header `FERMION-API-KEY`

Get URL to upload a video in your school. You have to make a PUT request on the "presignedUrl" to upload the video, then call the "start-processing-uploaded-video" API endpoint for our transcoder to start processing your uploaded video.

Authentication with the "FERMION-API-KEY" header is required to use this endpoint.

Rate limit: Maximum 60 requests in a window of 1m.

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `rawFilename` string, required

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `presignedUrl` string, uri, required
        - `videoId` string, required
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.dev/fermion/apis/fermion-backend-api.md) - [All operations](https://skmtc.dev/fermion/apis/fermion-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermion/apis/fermion-backend-api/revisions/93dda69c8230?raw)
