Skip to main content
GET
/
v1
/
platform
/
classes
List classes for the organization
curl --request GET \
  --url https://api.1club.ai/v1/platform/classes \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "name": "<string>",
    "slug": "<string>",
    "description": "<string>",
    "images": [
      "<string>"
    ],
    "classType": {
      "id": 123,
      "name": "<string>",
      "slug": "<string>"
    },
    "isMultiDay": true,
    "startTime": "2023-11-07T05:31:56Z",
    "endTime": "2023-11-07T05:31:56Z",
    "duration": 123,
    "maxCapacity": 123,
    "price": 123,
    "isFree": true,
    "status": "<string>",
    "recurrence": {},
    "sport": "<string>",
    "color": "<string>",
    "club": {
      "id": 123,
      "name": "<string>",
      "slug": "<string>"
    },
    "area": {
      "id": 123,
      "name": "<string>"
    },
    "instructors": [
      {
        "id": 123,
        "contactId": 123,
        "sports": [
          "<string>"
        ],
        "typeId": 123,
        "type": {
          "id": 123,
          "name": "<string>"
        },
        "experience": "<string>",
        "hourlyRate": 123,
        "bio": {},
        "certifications": [
          "<string>"
        ],
        "isActive": true,
        "isBookable": true,
        "contact": {
          "name": "<string>",
          "profileImage": "<string>"
        }
      }
    ],
    "timeStatus": "<string>",
    "availabilityStatus": "<string>",
    "userStatus": "<string>",
    "waitlistPosition": 123,
    "currentBookings": 123,
    "translations": {}
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.1club.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Customer API key obtained from the admin portal (e.g. 1club_sk_live_...)

Query Parameters

startDate
string<date-time>

Filter classes starting from this date

endDate
string<date-time>

Filter classes ending before this date

locale
string

Locale for translations (e.g. "en", "es")

Response

List of classes

id
integer
name
string
slug
string | null
description
string | null
images
string[]
classType
object
isMultiDay
boolean
startTime
string<date-time>
endTime
string<date-time>
duration
number<float> | null

Duration in hours when present.

maxCapacity
integer | null
price
number<float> | null

Price including any applicable default tax.

isFree
boolean
visibility
enum<string>
Available options:
Public,
Member_only,
Private
status
string
recurrence
object
sport
string | null
color
string | null
club
object
area
object
instructors
object[]
timeStatus
string | null
availabilityStatus
string | null
userStatus
string | null
waitlistPosition
integer | null
currentBookings
integer | null
translations
object

Per-locale translations keyed by language code (e.g. 'es', 'fr').