List quick wins
GET/api/public/quick-wins
List automatically detected positive moments for your trainees (new personal record, consistency streak, measurement progress, coaching milestone), newest first. Uses cursor pagination: pass the returned nextCursor to fetch the next page.
Authentication
Requires an API key, sent as Authorization: Bearer cp_live_....
API keys carry scopes. Get the catalog of scopes and webhook events lists every scope.
Query parameters
| Name | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous response (nextCursor). |
limit | integer | Items per page. Defaults to 15. |
filter | string | Return wins still awaiting action, or ones already handled. Defaults to active. |
search | string | Search the trainee name. |
Request examples
curl --request GET \
--url 'https://api.coach-platform.com/api/public/quick-wins' \
--header 'Authorization: Bearer cp_live_...'const response = await fetch('https://api.coach-platform.com/api/public/quick-wins', {
method: 'GET',
headers: {
Authorization: 'Bearer cp_live_...',
},
});
const data = await response.json();Responses
200 OK
{
"data": [
{
"id": "<string>",
"trainee": {
"id": "<string>",
"fullName": "<string>"
},
"category": "<string>",
"title": "<string>",
"description": "<string>",
"status": "<string>",
"createdAt": "<date-time>"
}
],
"nextCursor": "<string>"
}Response fields (11)
| Name | Type | Description |
|---|---|---|
data | object[] | |
data[].id | string | |
data[].trainee | object | |
data[].trainee.id | string | |
data[].trainee.fullName | string | |
data[].category | string | Win category, e.g. personalRecord, streak, measurement. |
data[].title | string | Short human-readable summary of the win. |
data[].description | string | |
data[].status | string | active or handled. |
data[].createdAt | string<date-time> | |
nextCursor | string | null | Pass as cursor to fetch the next page. Null when there are no more results. |
More Monitoring endpoints
This page is also available as Markdown. Browse it in the interactive explorer or download the OpenAPI spec.