Authenticate a Withings user via OAuth2 and retrieve their weight/activity measurements

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

Steps

  1. Register a partner application in the Withings developer dashboard to get a client ID and secret
  2. Complete the OAuth2 authorization code flow, requesting scopes such as user.metrics and user.activity
  3. Store the returned access token and refresh token; access tokens are short-lived, so check expiry and refresh proactively
  4. POST to https://wbsapi.withings.net/measure with action=getmeas, a meastype filter (e.g. 1 for weight), and startdate/enddate (or lastupdate for incremental sync)
  5. Include the Authorization: Bearer header with a valid access token; refresh and retry once on a 401

Known gotchas

Related routes

Build a Withings Public API (no-contract) integration: complete the OAuth2 web flow for a user and fetch body composition and activity data via the Health Data API.
developer.withings.com · 5 steps · unrated
Authenticate a user via Strava OAuth and upload a completed activity (FIT/TCX/GPX) on their behalf
developers.strava.com · 5 steps · unrated
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