WHOOP · Example Payload

Whoop Webhook Sleep Updated Example

Example WHOOP webhook delivery for a sleep.updated event. The subscribed app receives a POST to its registered HTTPS endpoint with HMAC-SHA256 signature headers.

FitnessWearablesHealthRecoverySleepWorkoutsStrainHeart RatePerformance

Whoop Webhook Sleep Updated Example is an example object payload from WHOOP, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestverificationexpectedResponse

Example Payload

Raw ↑
{
  "description": "Example WHOOP webhook delivery for a sleep.updated event. The subscribed app receives a POST to its registered HTTPS endpoint with HMAC-SHA256 signature headers.",
  "request": {
    "method": "POST",
    "url": "https://example.com/whoop/webhook",
    "headers": {
      "Content-Type": "application/json",
      "X-WHOOP-Signature": "Y3Jhd2ZvcmRzLW5pZ2h0LWdvbGYtanVtcGVy...",
      "X-WHOOP-Signature-Timestamp": "1748241241000"
    },
    "body": {
      "user_id": 10129,
      "id": "ecfc6a15-4661-442f-a9a4-f160dd7afae8",
      "type": "sleep.updated",
      "trace_id": "e369c784-5100-49e8-8098-75d35c47b31b"
    }
  },
  "verification": {
    "algorithm": "HMAC-SHA256",
    "formula": "base64Encode(HMACSHA256(timestamp_header + raw_http_request_body, client_secret))",
    "compareAgainst": "X-WHOOP-Signature"
  },
  "expectedResponse": {
    "status": 200,
    "note": "Respond 2xx within 10 seconds; WHOOP retries on non-2xx with exponential backoff."
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/whoop-webhook-sleep-updated-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.