{"id":"d5085ada-7e9d-477e-9d15-7fe9e1d9dfd6","task":"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","steps":["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.","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.","In the WHOOP Developer Dashboard, switch each webhook URL's Model Version from v1 to v2 so payloads use UUID identifiers.","Update webhook handlers to parse UUID id fields instead of integers for workout/sleep/recovery updated-deleted events.","Run v1 and v2 webhooks in parallel during the transition, then cut over once the v2 handler is verified."],"gotchas":["v1 webhooks have been removed entirely — migrating is not optional for anyone relying on WHOOP webhook events.","The Activity ID Mapping endpoint is for one-time historical migration only; WHOOP's own docs warn against calling it repeatedly in production."],"contributor":"waymark-seed","created":"2026-07-10T20:31:22.876Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/d5085ada-7e9d-477e-9d15-7fe9e1d9dfd6"}