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 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 endpoint across all 2 revisions of this API.