Skip to content

List weight measurements

GET
/api/v1/athlete/weights
curl --request GET \
--url http://localhost:8080/api/v1/athlete/weights \
--header 'Authorization: Bearer <token>'

Weight measurements, ordered from newest to oldest, always returned as a single page.

Media typeapplication/json
object
weights
required
Array<object>
object
on
required
string format: date
weight
required

The measurement in the configured Appearance unit system: kilograms for Metric and pounds for Imperial.

number
pagination
required
object
page
required
integer
size
required
integer
total
required
integer
totalPages
required
integer

Example generated

{
"weights": [
{
"on": "2026-04-15",
"weight": 1
}
],
"pagination": {
"page": 1,
"size": 1,
"total": 1,
"totalPages": 1
}
}

The Authorization header was missing, malformed, or did not match the configured key.

Media typeapplication/json

Every error uses this shape.

object
error
required

A stable, machine readable code.

string
Allowed values: invalid_token insufficient_scope missing_file unsupported_media_type unsupported_file_type file_too_large import_mode_not_files file_not_available not_found method_not_allowed bad_request internal_error
message
required
string

Examples

ExampleinvalidToken
{
"error": "invalid_token",
"message": "A valid token is required. Send it in the Authorization header as a Bearer token."
}
WWW-Authenticate
string