OpenCourt Developers
API ReferenceClub

Get the club

GET/v1/club

Returns the club this API key belongs to — its name and timezone. Use the timezone to interpret times returned by other endpoints (e.g. /v1/schedule). Scoped to the club tied to your API key.

Authorization

bearerAuth
AuthorizationBearer <token>

Your club API key. Send it as Authorization: Bearer oc_live_….

In: header

Header Parameters

OpenCourt-Version?string

The API version to serve this request at, e.g. 2026-11-01. Omit it to use the version your API key is pinned to. An unknown or retired version is a 400 (invalid_api_version / api_version_retired).

Value in"2026-11-01"

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getopencourt.com/v1/club"
{
  "id": "c0ffee00-1111-4222-8333-444455556666",
  "object": "club",
  "name": "Palace of Pickleball",
  "timezone": "America/New_York"
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}