New JuneDevelopers
API reference

API reference

Every resource, field, endpoint, and parameter in the New June Data API v1.

View .md

The reference is generated from the API's OpenAPI 3.1 document, the same file the API serves. When the two ever disagree, the document wins: download it or fetch it from the API at https://data.newjune.co/v1/openapi.json.

Base URL
https://data.newjune.co/v1
Auth header
Authorization: Bearer $NEW_JUNE_API_KEY
Methods
GET only (read-only)
Format
JSON, snake_case, UTC timestamps
OpenAPI 3.1
/openapi.json

Every endpoint is a GET on a flat collection, /v1/<resource> or /v1/<resource>/{id}. Related resources are linked by _id fields and query filters such as ?round_id=, never by nested paths. Lists share one envelope and cursor, errors share one shape, and every response uses the same conventions.

Resources

Every endpoint

MethodPathSummaryScope
GET/v1/meGet the current API keyany key
GET/v1/roundsList roundsrounds:read
GET/v1/rounds/{id}Get a roundrounds:read
GET/v1/hole_scoresList hole scoresrounds:read
GET/v1/hole_scores/{id}Get a hole scorerounds:read
GET/v1/shotsList shotsrounds:read
GET/v1/shots/{id}Get a shotrounds:read
GET/v1/reportsList reportsreports:read
GET/v1/reports/{id}Get a reportreports:read
GET/v1/prioritiesList prioritiesplans:read
GET/v1/priorities/{id}Get a priorityplans:read
GET/v1/plansList plansplans:read
GET/v1/plans/{id}Get a planplans:read
GET/v1/evaluationsList evaluationsplans:read
GET/v1/evaluations/{id}Get an evaluationplans:read
GET/v1/focus_setsList focus setsplans:read
GET/v1/focus_sets/currentGet the current focus setplans:read
GET/v1/focus_sets/{id}Get a focus setplans:read
GET/v1/clubsList clubsclubs:read
GET/v1/clubs/{id}Get a clubclubs:read

For example, the first request most integrations make is GET https://data.newjune.co/v1/me.