Create a class
POST
/v1/integration-api/classes
const url = 'https://api.academy.example.com/v1/integration-api/classes';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Start November","access":"internal"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.academy.example.com/v1/integration-api/classes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Start November", "access": "internal" }'Versioned integration contract.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
description
string
access
string
Example
{ "name": "Start November", "access": "internal"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
Example
{ "id": "6f1c2a10-0000-4000-8000-0000000000e1", "name": "Start November", "description": "", "access": "internal", "courseId": null, "learners": 0, "teachers": 0, "createdAt": "2026-11-03T08:00:00.000Z"}default
Section titled “default”Error; error and message identify the reason
Media typeapplication/json
object
error
required
Stable code, e.g. insufficient_scope, not_found, validation_failed
string
message
string
Example generated
{ "error": "example", "message": "example"}