Skip to main content
POST
Create a resource

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Body

application/json

Create a learning resource. After creation, add content blocks (text, video, quiz, etc.) via the blocks sub-resource.

Create a learning resource. After creation, add content blocks (text, video, quiz, etc.) via the blocks sub-resource.

label
string
required

Resource title

Required string length: 1 - 500
type
enum<string>
default:partner
required

Visibility: 'partner' (visible to partners), 'internal' (internal only), 'campaigns' (used in email campaigns)

Available options:
internal,
partner,
campaigns,
public
live
boolean
default:false
required

Whether the resource is published and visible

summary
string | null

Short description

partner_type_referral
boolean

Visible to referral partners

partner_type_reseller
boolean

Visible to reseller partners

partner_type_distributor
boolean

Visible to distributor partners

asset_uuid
string

UUID of cover image asset

Response

201 - application/json

Default Response

uuid
string
required
label
string | null
required
summary
string | null
required
live
boolean
required
type
enum<string>
required
Available options:
internal,
partner,
campaigns,
public
created_at
string
required
updated_at
string
required
asset_uuid
string | null
required
tags
object[]
required
categories
object[]
required
folders
object[]
required
blocks
object[]
required
partner_type_referral
boolean
required
partner_type_reseller
boolean
required
partner_type_distributor
boolean
required