OpenCourt Developers

Getting Started

Learn how to integrate with the OpenCourt API

Introduction

The OpenCourt API lets you programmatically manage clubs, bookings, memberships, events, and more.

Base URLs

EnvironmentURL
Productionhttps://app.getopencourt.com/api/v1
Sandboxhttps://sandbox.getopencourt.com/api/v1

Authentication

All API requests require a Bearer token. Include your API key in the Authorization header:

curl https://app.getopencourt.com/api/v1/clubs \
  -H "Authorization: Bearer sk_live_oc_your_api_key"

API Key Types

PrefixEnvironmentAccess
sk_live_oc_ProductionFull access
sk_test_oc_SandboxFull access
rk_live_oc_ProductionRead-only
rk_test_oc_SandboxRead-only

Versioning

The API uses URL path versioning (/v1) for major versions and header-based date versioning for minor changes:

curl https://app.getopencourt.com/api/v1/clubs \
  -H "Authorization: Bearer sk_live_oc_..." \
  -H "OpenCourt-Version: 2025-12-03"

On this page