Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WHOOP Workout API

The Workout API from WHOOP — 2 operation(s) for workout.

WHOOP Workout API is one of 7 APIs that WHOOP publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Workout. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, rate-limit docs, and a getting-started guide.

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.1.

Requests are made against a single base URL, https://api.prod.whoop.com/developer.

2 operations 2 paths 4 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
Base URL
https://api.prod.whoop.com
Authentication
OAuth 2.0, OAuth 2.0
Resource Areas
1

Authentication & Security 2

WHOOP Workout 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.

Workout 2
GET
/v2/activity/workout/{workoutId}
Get the workout for the specified ID
getWorkoutById 1 param → 200400404401429500
GET
/v2/activity/workout
Get all workouts for a user, paginated. Results are sorted by start time in descending order.
getWorkoutCollection 4 params → 200400401429500

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are WorkoutV2 (12 properties), WorkoutScore (9 properties), ZoneDurations (6 properties), WorkoutCollection (2 properties). Each schema is shown below with its type and property counts.

ZoneDurations
object
Breakdown of time spent in each heart rate zone during the workout.
6 properties 6 required
WorkoutV2
object
A WHOOP workout activity with full details and scoring information
12 properties 9 required
WorkoutCollection
object
Paginated collection of workout activities with next token for pagination
2 properties
WorkoutScore
object
WHOOP's measurements and evaluation of the workout activity. Only present if the Workout State is SCORED
9 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

whoop-workout-api-openapi.yml Raw ↑

Other APIs WHOOP publishes across the network.

WHOOP Activity ID Mapping API
WHOOP Cycle API
WHOOP Partner API
WHOOP Recovery API
WHOOP Sleep API
WHOOP User API