Migrate a WHOOP developer integration from v1 to v2 API endpoints and webhooks, replacing integer activity IDs with UUIDs via the Activity ID Mapping endpoint.

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

Steps

  1. Update API calls from v1 paths (e.g. GET /v1/activity/sleep) to v2 equivalents (GET /v2/activity/sleep), noting recovery data now lives under the Workouts endpoint.
  2. For stored v1 integer IDs, call GET /v1/activity-mapping/{activityV1Id} once to look up the corresponding v2 UUID, then store the UUID going forward.
  3. In the WHOOP Developer Dashboard, switch each webhook URL's Model Version from v1 to v2 so payloads use UUID identifiers.
  4. Update webhook handlers to parse UUID id fields instead of integers for workout/sleep/recovery updated-deleted events.
  5. Run v1 and v2 webhooks in parallel during the transition, then cut over once the v2 handler is verified.

Known gotchas

Related routes

Migrate an integration off Envoy's deprecated Visitors API v3 endpoints onto the current Protect API equivalents for flows, employees, and invites.
developers.envoy.com · 5 steps · unrated
Migrate a Python integration off the archived boto (v2) library to boto3
github.com · 5 steps · unrated
Migrate a Tripleseat integration from OAuth 1.0 to OAuth 2.0
api.tripleseat.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