Skip to content

Create a custom training course

POST
/v1/training/courses
curl --request POST \
--url https://api.varman.io/v1/training/courses \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "title": "Visitor and badge policy", "description": {}, "category": "Security awareness", "videoUrl": {}, "content": {} }'

Creates an org-owned course with a video link and/or text content. It is optional until assigned to a group. Employees finish it by marking it complete.

Media typeapplication/json
object
title
required
string

Example

Visitor and badge policy
description
object
category
required
string
Allowed values: Security awareness Privacy Engineering Compliance
videoUrl

Video link (YouTube, Vimeo, Loom or a direct https file)

object
content

Plain text or markdown content

object

The new course