WHOOP Sleep API
The Sleep API from WHOOP — 2 operation(s) for sleep.
WHOOP Sleep API is one of 7 APIs that WHOOP publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 4 JSON Schema definitions.
Tagged areas include Sleep. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, authentication docs, rate-limit docs, and 4 JSON Schemas.
This API exposes 2 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version 2.0.0.
Requests are made against a single base URL, https://api.prod.whoop.com/developer.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
WHOOP Sleep API declares
2 security schemes
for authenticating requests.
It supports OAuth 2.0 (OAuth) using the authorizationCode flow, exposing 6 scopes.
It supports OAuth 2.0 (Trusted Partner) using the clientCredentials flow, exposing 1 scope.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
Schemas 5
The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Sleep (12 properties), SleepStageSummary (8 properties), SleepScore (6 properties), SleepNeeded (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from WHOOP 6
Other APIs WHOOP publishes across the network.