Authenticate a WHOOP user via OAuth and retrieve their recovery and sleep data

domain: developer.whoop.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register an app in the WHOOP developer dashboard to get a client ID and client secret
  2. Redirect the user through the OAuth 2.0 authorize flow requesting scopes such as read:recovery and read:sleep, plus offline if you need a refresh token
  3. Exchange the authorization code for an access token and refresh token at the token endpoint
  4. Call the paginated recovery and sleep collection endpoints, which return results sorted by start time descending
  5. Refresh the access token roughly hourly using the refresh token, re-requesting the offline scope on each refresh
  6. Call the revoke-access endpoint when a user disconnects your app so you stop receiving webhooks for them

Known gotchas

Related routes

Authenticate with Wahoo Cloud API, read a user's workout history, and receive workout_summary webhook events
developers.wahooligan.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans