videos

Create video for CRM

Admin/coordinator endpoint to create a new video and enqueue patient notifications in background.

post/api/videos/crm/create

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/create
  • Auth: HTTP bearer

Request body

youtube_urlstring nullable

YouTube URL

titlestring required

Video title

descriptionstring required

Video description

typestring nullable

Video type/category

video_idstring nullable

Video identifier

Response

Successful Response

notification_job_idstring nullable

Celery job id for background notification dispatch

Example response

{
  "data": {
    "badge_name": "Consigliato",
    "created_at": "2024-01-01T00:00:00Z",
    "description": "This is an example video description",
    "id": 1,
    "title": "Video Example",
    "type": "educational",
    "video_id": "example123",
    "youtube_url": "https://www.youtube.com/watch?v=example"
  }
}

Changes

No recorded changes to this operation across all 55 revisions of this API.