---
title: "Create a music lesson"
method: POST
path: "/MusicLessons/Lesson"
tags: ["Musiclessons"]
---

# Create a music lesson

`POST /MusicLessons/Lesson`

**Requires permission:** *MusicAdmins*

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Request body

- UpsertMusicLessonRequest
  - `id` integer
  - `studentNameId` integer
  - `teacherEmail` string, nullable
  - `instrumentId` integer
  - `lessons` integer
  - `free` boolean
  - `notes` string, nullable

## Response `204`

Success - Created

## Other responses

- `400` — An Error Occurred - Explain Error
- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-09-02** `36dba1c77613` — 1 info
  - the `studentNameId` request property format was generalized from `int32` to `int64`

[Change history](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/changes/MusicLessons/Lesson/post.md)

---

[API](https://skmtc.dev/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/revisions/36dba1c77613/schema)
