Authentication
The Community API gives an external system access to one club's members, events, news and billing plans. Every request is authenticated with an API key that belongs to that club.
Base URL
https://data.onboard.blue/community-api
All endpoints are relative to this URL, for example GET https://data.onboard.blue/community-api/members. Opening the base URL in a browser shows the generated OpenAPI (Swagger) reference for the same endpoints.
Requests and responses use JSON. Send Content-Type: application/json with POST bodies.
Get an API key
A club admin creates the key in the Onboard admin:
- Choose the club and click Profile in the menu.
- Open the Integrations tab.
- Click Create key. The new key appears in the list; click it to copy it.
The admin needs access to the club Profile. A key is a 64-character hexadecimal string and belongs to the club that was selected when it was created. It gives access to that club's data only; the API has no way to choose another club.
Send the key
Put the key in the x-api-key header of every request:
curl https://data.onboard.blue/community-api/members \
-H "x-api-key: YOUR_API_KEY"
The header is the only accepted location. A key in the query string or in an Authorization header is ignored, and the request fails as if no key were sent.
Revoke a key
Click Delete next to the key on the Integrations tab. The key stops working immediately.
Authentication errors
All authentication failures return 401 Unauthorized:
message | Cause |
|---|---|
API key is missing | No x-api-key header |
Invalid API key | The key does not exist (or was deleted) |
API key validation failed | The key could not be checked; retry later |
{
"statusCode": 401,
"message": "Invalid API key",
"error": "Unauthorized"
}
See Errors for the other status codes.
Pagination
The list endpoints for members, events and news take two query parameters:
| Parameter | Default | Rules |
|---|---|---|
page | 1 | 1-based. Values below 1 are treated as 1. |
limit | 50 | Items per page, 1–200. Larger values become 200. |
They return the items in an envelope:
{
"items": [],
"page": 1,
"limit": 50,
"total": 240,
"hasMore": true
}
total is the number of matching items across all pages. Keep requesting the next page while hasMore is true.