Skip to main content
GET
Get a class by ID

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Path Parameters

id
integer
required

Class ID

Query Parameters

locale
string

Locale for translations

Response

Class details

One class occurrence. A weekly class materializes a row per session, linked by recurrenceId and occurrenceIndex, so id is what a booking's classId points at - and what distinguishes two groups running in the same hour. Read the staff roster with GET /v1/platform/classes/{id}/bookings.

id
integer
name
string
slug
string | null
description
string | null
images
string[]
classTypeId
integer | null
classType
object | null
clubId
integer
instructorLocationId
integer | null

Where the class happens when that is one of its instructors' locations rather than its club: always set for a Professional's class.

club
object | null
areaId
integer | null

Room or court the class occupies, when one is assigned.

area
object | null
startTime
string<date-time>
endTime
string<date-time>
durationMinutes
integer
isMultiDay
boolean
status
enum<string>

A cancelled occurrence keeps its bookings and roster.

Available options:
active,
cancelled
visibility
enum<string>
Available options:
Public,
Member_only,
Private
sport
string | null
color
string | null
price
number<float> | null

Price including the organization's default tax - what a member is charged.

priceBeforeTax
number<float> | null

The price as stored on the class, before tax.

isFree
boolean
maxCapacity
integer | null

Seats the class takes; null when uncapped. For a class in a room with spots (its type picks spots and its area has spots in service) this is the smaller of the stored capacity and the spots in service, and the number of spots in service when no capacity is set, so it can differ from what update_class wrote: update_class writes the stored value.

maxPartySize
integer

Largest party one booking may bring, from the class type.

bookedCount
integer

Seats taken: attendee bookings plus standalone walk-in check-ins.

currentBookings
integer

Legacy alias of bookedCount.

spotsLeft
integer | null

maxCapacity - bookedCount, floored at 0; null when capacity is unlimited.

waitlistCount
integer

Entries waiting (pending or notified).

allowWaitlist
boolean
timeStatus
enum<string>
Available options:
past,
upcoming
availabilityStatus
enum<string>
Available options:
available,
full
recurrenceId
integer | null

The series this occurrence belongs to; null for a one-off class.

occurrenceIndex
integer | null

Position within the series, as materialized.

recurrence
object | null

The series rule, when this occurrence belongs to one.

instructors
object[]

Who teaches the occurrence. The instructor's own weekly availability is not included; read it from GET /v1/platform/instructors.

externalSource
string | null

Import provenance - set when the occurrence came from an external system rather than being created in 1club.

externalId
string | null

The source system's id for this occurrence, for reconciliation against it.

createdAt
string<date-time>
updatedAt
string<date-time>
translations
object | null

Every locale's copy, keyed by language code (e.g. 'es', 'fr'). Returned alongside the locale-resolved name/description, so an integration syncing a multilingual timetable can read all of them in one call.

series
object

Present only on the response to a recurring create or to an update that moved where the series ends, never on a read: it describes what that one request did. An occurrence at a club that is closed, or past its closing date, is skipped rather than failing the request, so comparing occurrencesCreated with what you asked for is the only way a partially-skipped season is visible.