Getting started

These guides cover the things that span more than one endpoint: how to authenticate, what the platform's terms mean, and how to build each of the main journeys end to end. For the fields, constraints and errors of an individual call, use the API reference.

How this section is organised

Getting Started is everything you need before you write integration code — terminology, authentication and the platform restrictions that apply to every call.

Flows covers the complete journeys. Each one walks through the calls in order, explains what to do with what comes back, and links to the reference page for every endpoint involved.

Read these first

Work through these in order. Each one assumes the ones above it.

  1. Glossary — Gladstone's API uses terms from the leisure industry, and several of them look like ordinary English words while meaning something specific. Fifteen minutes here saves an afternoon later.
  2. Authenticating with Gladstone APIs — the two authentication methods and how to choose between them. Both end with a JWT bearer token that you send on every subsequent call.
    • API Key Authentication — the recommended route for new integrations. Supports member-scoped tokens, refresh tokens and per-integration rate limiting.
    • OAuth2 Authentication — the legacy client-credentials flow. Still fully supported, but not the choice for a new build.
  3. Restrictions — rate limits, country blocks and the other platform restrictions your integration has to handle. Read this before you design your retry logic, not after you trip a limit.

If you are working with an AI coding agent, point it at the markdown version of these docs rather than the web pages. See Using the Knowledge Base with AI Agents.

Then pick your flow

GuideBuild this when you need to
JoiningSell a membership end to end, from pricing through to a paid-up member.
BookingBuild a booking journey — availability, leases, pricing and confirmation.
PaymentsTake payment for bookings and memberships, including 3-D Secure challenges.

Leases and slot references are the part of the booking flow most often got wrong: they are short-lived and order-dependent, so read the Booking guide through once before implementing any of it.

Compliance

Where else to look

This page as markdown · All pages · llms.txt