Skip to main content
GET
Get a class's room

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

count
integer
default:1

How many places to suggest spots for

Required range: 1 <= x <= 50
locale
string

Language the club's name for a spot is read in (e.g. bg); the club's own language when it has no translation

Response

The class's room

A class occurrence's room: its spots and who holds them, and the spots to book for the places asked for.

usesSpots
boolean

False when the class's type does not pick spots, the class has no room, or the room has no spot in service. Then spots is empty and spotName null.

spotName
string | null

What the club calls one spot of the room ("Reformer"), in the requested language; null reads as "Spot 3".

spots
object[]

Every spot of the room, out of service ones included, front row first and left to right.

suggestedSpotIds
integer[]

The spots to book for count places: the front-most free run in one row, else the first free ones. Fewer than count when the room is full.