List weight measurements
GET
/api/v1/athlete/weights
const url = 'http://localhost:8080/api/v1/athlete/weights';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/athlete/weights \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Weight measurements, ordered from newest to oldest.
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
Examplegenerated
{ "weights": [ { "on": "2026-04-15", "weight": 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
message
required
string
Examples
ExampleinvalidToken
{ "error": "invalid_token", "message": "A valid API token is required. Send it in the Authorization header as a Bearer token."}Headers
Section titled “Headers”WWW-Authenticate
string