List a trainee's progress photos
GET/api/public/trainees/{traineeId}/photos
A trainee's progress photos as temporary viewable image URLs (valid a few minutes). Optionally filter by month with date=YYYY-MM.
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.
Path parameters
| Name | Type | Description |
|---|---|---|
traineeIdrequired | string |
Query parameters
| Name | Type | Description |
|---|---|---|
date | string | Filter to a month, YYYY-MM. |
page | integer | Page number (1-based, default 1) |
limit | integer | Number of items to return (default 25, max 500) |
Request examples
curl --request GET \
--url 'https://api.coach-platform.com/api/public/trainees/<traineeId>/photos' \
--header 'Authorization: Bearer cp_live_...'const response = await fetch('https://api.coach-platform.com/api/public/trainees/<traineeId>/photos', {
method: 'GET',
headers: {
Authorization: 'Bearer cp_live_...',
},
});
const data = await response.json();Responses
200 OK
{
"data": {}
}Response fields (1)
| Name | Type | Description |
|---|---|---|
data | object |
More Trainees endpoints
This page is also available as Markdown. Browse it in the interactive explorer or download the OpenAPI spec.