Skip to content

API reference

Every public HTTP endpoint and response schema for app.sweatstack.no, generated from the canonical OpenAPI spec at https://app.sweatstack.no/openapi.json. Rebuilds with the docs, so it can't drift from the API.

Want to call the endpoints right now?

Use the API playground. It picks up your logged-in SweatStack session, so there's no API token to mint or paste. The reference here is for reading the spec. The playground is for running requests.

Reference by resource

  • Activities: list and read a user's activities, including timeseries data and longitudinal queries across many activities at once.
  • Traces: point-in-time measurements like lactate or RPE, attached to activities by timestamp.
  • Tests: structured performance evaluations with a defined results schema (lactate, VO2max, FTP).
  • Dailies: once-per-day measurements such as body mass, resting heart rate, HRV, and sleep.
  • Profile: metabolic profile, sports hierarchy, and tags for the current user.
  • Users: user-account operations.
  • Teams: team management for organizations and groups.
  • Applications: registered OAuth applications, their secrets, and their members.
  • Pages: the SweatStack Pages hosting product.
  • OAuth: authorization, token issuance, and OpenID discovery.
  • Workouts: workout scheduling and library (beta; shapes may change).
  • Data: concept-level explanations, when to use what, with curated examples.
  • Guides: end-to-end patterns like incremental sync, native mobile apps, and the onboarding flow.
  • API playground: interactive Try-It with your account.