API ReferenceCoaches
List coaches
GET
/v1/coachesReturns the club's coaches in display order. Active coaches only by default — pass include=archived to also return archived coaches. The set is small, so there is no pagination. 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
Query Parameters
include?string
Pass archived to also include archived coaches.
Value in
"archived"Response Body
application/json
application/json
application/json
curl -X GET "https://api.getopencourt.com/v1/coaches"{
"object": "list",
"data": [
{
"id": "c1a2b3d4-5e6f-4708-9192-a3b4c5d6e7f8",
"object": "coach",
"name": "Marcus",
"last_name": "Rivera",
"title": "Head Pro",
"bio": "PPR-certified coach specializing in beginner clinics and dink strategy.",
"avatar_url": "https://sup.opencourt.co/coaches/marcus.jpg",
"slug": "marcus-rivera",
"lesson_booking_enabled": true,
"status": "active"
}
],
"has_more": true,
"url": "string"
}{
"error": {
"type": "string",
"code": "string",
"message": "string",
"param": "string",
"request_id": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string",
"param": "string",
"request_id": "string"
}
}