---
title: "Create a class"
method: POST
path: "/lms/{connection_id}/class"
tags: ["lms", "class"]
---

# Create a class

`POST /lms/{connection_id}/class`

## Path parameters

- `connection_id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- LmsClass
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `media` LmsMedia[]
    - `url` string
    - `name` string
    - `description` string
    - `type` 'IMAGE' | 'HEADSHOT' | 'VIDEO' | 'WEB' | 'DOCUMENT' | 'TEXT' | 'HTML' | 'OTHER'
    - `thumbnail_url` string
    - `content` string
    - `languages` string[] — ISO 2-digit language codes
  - `course_id` string
  - `instructor_ids` string[] — @deprecated; use instructors
  - `student_ids` string[] — @deprecated; use students
  - `languages` string[]
  - `instructors` LmsReference[]
    - `id` string
    - `name` string
  - `students` LmsReference[]
    - `id` string
    - `name` string
  - `raw` object

## Response `200`

Successful

- LmsClass
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `media` LmsMedia[]
    - `url` string
    - `name` string
    - `description` string
    - `type` 'IMAGE' | 'HEADSHOT' | 'VIDEO' | 'WEB' | 'DOCUMENT' | 'TEXT' | 'HTML' | 'OTHER'
    - `thumbnail_url` string
    - `content` string
    - `languages` string[] — ISO 2-digit language codes
  - `course_id` string
  - `instructor_ids` string[] — @deprecated; use instructors
  - `student_ids` string[] — @deprecated; use students
  - `languages` string[]
  - `instructors` LmsReference[]
    - `id` string
    - `name` string
  - `students` LmsReference[]
    - `id` string
    - `name` string
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/aeeac8203aca/schema)
