Authenticating with Gladstone APIs

There are two ways to authenticate with the Gladstone API. For new integrations we recommend API Key Authentication — it supports member-scoped tokens, refresh tokens, and per-integration rate limiting. OAuth2 Authentication is still fully supported for existing integrations but is not the recommended choice for new ones.

Both flows end with you holding a JWT bearer token that you send on every downstream API call.

At a glance

MethodBest forCredentials issuedGuide
API Key Authentication (Recommended)Third-party web / mobile integrations needing member-scoped tokens, refresh tokens, per-integration rate limiting, audit logs, and registered-origin browser supportPartner API Key (format gsk_{version}_{secret})API Key Authentication
OAuth2 Authentication (Legacy)Existing server-to-server integrations using the OAuth2 client-credentials patternClient ID + Client Secret + Well-Known configurationOAuth2 Authentication

Which should I use?

If you're unsure which applies to your integration, ask the Gladstone team — they decide which credential type to issue based on your integration use case.

What both flows have in common

How they differ

ConcernAPI Key Authentication (Recommended)OAuth2 Authentication (Legacy)
Credential typeAPI Key (gsk_{version}_{secret})Client ID + Client Secret
Token endpoint<environment>/api/samlauthentication/partner/token<environment>/identity/connect/token
Grant types supportedAPI-only (machine-to-machine), member-scoped (email+password), refreshclient_credentials
Refresh tokensIssued alongside every access token; refresh without re-entering credentialsNot issued — re-authenticate when the token expires
Acting on behalf of a memberSupported via the member-scoped grantNot supported
Origin lock (browser)Browser callers must send Origin matching the registered domainNot enforced
Per-integration rate limitsPer-minute and per-hour limits enforced; 429 + Retry-AfterNot configured
Audit loggingDedicated audit log per API key — visible to Gladstone administratorsStandard service logs
Credential rotationAPI Key can be revoked / renewed by the operator at any timeClient Secret can be rotated by Gladstone Support

Product and feature entitlements

Holding a valid token is not the same as being allowed to call an endpoint. Authentication proves who you are; entitlements decide which endpoints that identity may reach.

Every endpoint page in this documentation carries an Access requirements panel below the method and path, listing the products and features that endpoint demands. Read it before you write the call — it is the difference between a working integration and a 403 you cannot explain.

The panel names each product and feature as you would hear it referred to — Operator, Consumer, Online Bookings. Each one also has a short upper-case code, which is what the platform matches on internally; hover a name to see it. Quote the code when you raise a ticket, because that is the form Gladstone Support and the gateway both use.

Three rules govern how those lists are read:

When a token reaches an endpoint without an entitlement it requires, the gateway refuses the request with 403 before it reaches the service — so the response carries no business detail explaining the refusal. A 403 on an endpoint you believe you should be able to call is almost always a missing grant rather than a malformed request: check the Access requirements panel, then ask Gladstone Support to grant the missing module. Contrast this with a 401, which means the token itself was missing, expired or revoked.

Entitlements are fixed at the point your token is issued. If Gladstone grants your integration a new module, request a fresh token before expecting the new endpoints to answer.

Common pitfalls (both flows)

Get started

  1. Read the guide that matches your integration type.
  2. Contact Gladstone Support to be issued credentials and any required configuration (registered origin domain for browser integrations, well-known configuration URL for OAuth2, etc.).
  3. Implement the relevant flow, then send Authorization: Bearer *** on every API call.

Support

For credential setup, renewal, or troubleshooting either flow, contact Gladstone Support. When reporting issues please include:

This page as markdown · All pages · llms.txt