{ "opencollection": "1.0.0", "info": { "name": "WHOOP Activity ID Mapping Recovery API", "version": "2.0.0" }, "items": [ { "info": { "name": "Recovery", "type": "folder" }, "items": [ { "info": { "name": "List Recovery", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.whoop.com/developer/v2/recovery", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Limit on the number of recoveries returned" }, { "name": "start", "value": "", "type": "query", "description": "Return recoveries that occurred after or during (inclusive) this time. If not specified, the response will not filter recoveries by a minimum time." }, { "name": "end", "value": "", "type": "query", "description": "Return recoveries that intersect this time or ended before (exclusive) this time. If not specified, `end` will be set to `now`." }, { "name": "nextToken", "value": "", "type": "query", "description": "Optional next token from the previous response to get the next page. If not provided, the first page in the collection is returned" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.prod.whoop.com/oauth/oauth2/auth", "accessTokenUrl": "https://api.prod.whoop.com/oauth/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all recoveries for a user, paginated. Results are sorted by start time of the related sleep in descending order." }, { "info": { "name": "List Recovery", "type": "http" }, "http": { "method": "GET", "url": "https://api.prod.whoop.com/developer/v2/cycle/:cycleId/recovery", "params": [ { "name": "cycleId", "value": "", "type": "path", "description": "ID of the cycle to retrieve" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.prod.whoop.com/oauth/oauth2/auth", "accessTokenUrl": "https://api.prod.whoop.com/oauth/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the recovery for a cycle" } ] } ], "bundled": true }