{"id":"26e2135f-ac56-4551-a71f-351a7f05b1b6","task":"Authorize a Suunto App user via OAuth2 to obtain a JWT and call the Suunto integration API to list a user's workouts.","domain":"apizone.suunto.com","steps":["Subscribe to the Suunto Developer API product in the API Zone portal to get a primary/secondary Ocp-Apim-Subscription-Key.","Configure an OAuth app (name, client secret, redirect URI) in the API Zone profile; the client ID is generated automatically.","Redirect the user to cloudapi-oauth.suunto.com/oauth/authorize with the client_id/redirect_uri to get an authorization code.","Exchange the code for a JWT access token via POST to cloudapi-oauth.suunto.com/oauth/token using client credentials and the authorization code.","Call GET https://cloudapi.suunto.com/v2/workouts with both the Authorization (JWT) and Ocp-Apim-Subscription-Key headers to list workouts."],"gotchas":["Two different subdomains are involved — cloudapi-oauth.suunto.com for auth and cloudapi.suunto.com for data — mixing them up is a common mistake.","The JWT embeds a custom 'user' claim (the Suunto App username) useful for correlating webhook notifications back to the right stored token."],"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":"sampled","url":"https://mcp.waymark.network/r/26e2135f-ac56-4551-a71f-351a7f05b1b6"}