Aeroium DeckDocs
Dashboard

Online coaching

Certified coaches design every session around your level and your goals. Modern equipment is cleaned, serviced and ready every day.

6 min read Updated Jun 28, 2026 v2.9.7

Overview

We listen first, then build a plan around what you actually need. Track your progress in the app and see how far you have come. More than sixty classes a week, from sunrise yoga to late-night spin. Small group classes mean your coach knows your name and your form.

Installation

Install the SDK with the package manager your project already uses. It needs Node 18 or newer.

terminal
$ npm install @aeroium-deck/sdk
terminal
$ yarn add @aeroium-deck/sdk
terminal
$ pnpm add @aeroium-deck/sdk
Using a server without Node? The same endpoints are available over plain HTTPS; see the API reference below.

Configuration

Pause or change your membership any time, with no long contracts. Friendly people answer your questions quickly, by phone, chat or email. Create a file named aeroium-deck.config.json in the project root:

aeroium-deck.config.json
{
  "project": "aeroium-deck",
  "region": "ap-south",
  "categories": ["strength", "cardio", "yoga"],
  "retries": 5,
  "timeoutMs": 3000,
  "webhooks": { "enabled": true }
}
OptionTypeDefaultDescription
projectstring-Your project key from the dashboard.
regionstring"us-east"Data centre closest to your members.
retriesnumber3How often a failed call is retried.
timeoutMsnumber10000Time before a request is cancelled.
webhooks.enabledbooleanfalseSend events to your endpoint.

Your first request

We measure success by how many members come back and tell their friends.

  1. Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
  2. Store it safelyKeep the key in an environment variable, never in your source code.
  3. Make the callRun the snippet below; it prints the first page of results.
index.js
import { Client } from "@aeroium-deck/sdk";

const client = new Client({ apiKey: process.env.API_KEY });

// list the newest classs in one category
const page = await client.classs.list({ category: "strength", limit: 20 });

for (const item of page.data) {
  console.log(item.name, item.price);
}
Heads up: test keys only return sample data. Switch to a live key before you go to production.

API reference

Every endpoint returns JSON and uses standard HTTP status codes.

GET/v1/classesList classes with paging and filters.
POST/v1/classesCreate a new class.
PATCH/v1/classes/{id}Update some fields of a class.
DELETE/v1/classes/{id}Archive a class; it can be restored for 30 days.
response.json
{
  "data": [
    { "id": "class_7962", "name": "Day pass", "price": 301 }
  ],
  "has_more": true
}

Troubleshooting

Beginners are always welcome, with an intro session included. Our team has done this many times, so you never have to guess.

Modern equipment is cleaned, serviced and ready every day. Open 24 hours, so you can train whenever it suits your day.

Community events keep you motivated, from fun runs to workshops. Track your progress in the app and see how far you have come.

Next steps

Our team has done this many times, so you never have to guess.

Was this page helpful?
All screens