Skip to main content
GET
Get an area type

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

Response

The area type

A kind of area, and the defaults every area of that kind inherits. One shape for the list, get-by-id, create and update.

id
integer
name
string
slug
string

Stable key, derived from the name when a create does not send one. A rename never moves it.

description
string | null
revenueAccountId
integer | null

Where a booking on this kind of area posts. Null falls back to the organization's default account.

areaCount
integer

Areas currently of this type, whatever their status.

createdAt
string<date-time>
updatedAt
string<date-time>
sports
string[]

Sports an area of this type can be booked for.

isBookable
boolean

False for a type that is not booked at all (a storeroom, a corridor). Do not build bookable inventory on one.

defaultPricePerHour
number | null

Hourly price an area of this type starts from; an area may override it.

defaultMaxPlayers
integer | null

How many people a slot on this type normally takes.

maxConcurrentBookings
integer

How many bookings may hold an area of this type at once. 1 for an ordinary court.