---
title: "Add or change a weekly class"
method: POST
path: "/v1/sessions"
---

# Add or change a weekly class

`POST /v1/sessions`

## Request

- Base URL: `https://api.octapi.app`
- URL: `https://api.octapi.app/v1/sessions`
- Auth: HTTP bearer

## Request body

- object
  - `id` string, uuid, nullable
  - `offering_id` string, uuid, required
  - `provider_id` string, uuid, nullable
  - `weekday` integer, required
  - `start_time` string, required
  - `minutes` integer, required
  - `seats` integer, required
  - `active` boolean
  - `notes` union
    - string, nullable
    - ''

## Response `200`

Default Response

- object
  - `id` string, required

---

[API](https://skmtc.dev/octapi/apis/octapi-api.md) · [All operations](https://skmtc.dev/octapi/apis/octapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octapi/apis/octapi-api/revisions/580afda787d2?raw)
