---
title: "Edit a video from the CRM"
method: POST
path: "/api/videos/crm/update"
tags: ["videos"]
---

# Edit a video from the CRM

`POST /api/videos/crm/update`

## Request

- Base URL: `https://api.corabea.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.corabea.it/api/videos/crm/update`
- Auth: HTTP bearer

Admin/coordinator endpoint to edit an existing video. Unlike creation this sends no notification: correcting a published video must not announce it to patients a second time.

## Request body

- CRMVideoUpdateRequest: Request model for CRM video edits.
  - `id` integer, required: Row to edit
  - `youtube_url` string, nullable: YouTube URL
  - `title` string, required: Video title
  - `description` string, required: Video description
  - `type` string, nullable: Video type/category
  - `video_id` string, nullable: Video identifier

## Response `200`

Successful Response

- VideoResponse: Video response model.
  - `id` integer, required: Video ID
  - `created_at` string, required: Creation timestamp
  - `youtube_url` string, nullable: YouTube URL
  - `title` string, required: Video title
  - `description` string, required: Video description
  - `type` string, nullable: Video type/category
  - `video_id` string, nullable: Video identifier
  - `thumbnail` string, nullable: Base64 encoded video thumbnail
  - `badge_name` string, nullable: Badge name to display for this video in app/website
  - `is_locked` boolean: Whether the video is visible but not playable
  - `locked_message` string, nullable: Reason shown when the video is locked
  - `cta_url` string, nullable: CTA URL/path shown when the video is locked
  - `cta_label` string, nullable: CTA label shown when the video is locked

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-11** `6afa01417695`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/corabea/apis/corabea-api/changes/api/videos/crm/update/post.md)

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corabea/apis/corabea-api/revisions/4a8dd89893b8?raw)
