Create a new class

Creates a new scheduled class within a facility.

The request body allows defining attributes such as the class name, facility, schedule, and an optional workout program classTemplateId.

Note:

  • A classTemplateId is required for console classes, and optional and only needed if you want to attach a workout program you have access to from class creator.
  • The class schedule can include multiple days and times per week.

Required Scope: write:classes_and_bookings


Required Role:

This endpoint is availble to clients using the client credentials grant.
When using the authorization code flow grant the authorized user must be an Owner or Coach to use this endpoint.

Body Params
string
uuid
uuid
string | null
string | null
days
array of strings
days
Allowed:
times
array of strings
times
integer
boolean
boolean
integer
string
float
string
string
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json