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

Eight Sleep Temperature API

Heating level and away-mode control (unofficial).

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

Tagged areas include Temperature. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.1, at version unofficial-v1.

Requests are made against 3 base URLs: https://auth-api.8slp.net, https://client-api.8slp.net, https://app-api.8slp.net.

3 operations 2 paths 3 schemas 1 GET2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
unofficial-v1
Base URL
https://auth-api.8slp.net/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Eight Sleep Temperature API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth).

  • bearerAuth — Bearer access token issued by POST /v1/tokens on auth-api.8slp.net. Unofficial.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 GET, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Temperature 3

Heating level and away-mode control (unofficial).

GET
/v1/users/{userId}/temperature
Get current heating level (unofficial)
getTemperature 1 param → 200401
PUT
/v1/users/{userId}/temperature
Set heating level (unofficial)
setTemperature 1 param body → 200401
PUT
/v1/users/{userId}/away-mode
Set away mode (unofficial)
setAwayMode 1 param body → 200401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are TemperatureState (3 properties), TemperatureUpdate (2 properties), AwayModeUpdate (1 property). Each schema is shown below with its type and property counts.

TemperatureState
object
3 properties
AwayModeUpdate
object
1 property 1 required
TemperatureUpdate
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

eight-sleep-temperature-api-openapi.yml Raw ↑

Other APIs Eight Sleep publishes across the network.

Eight Sleep Alarms API
Eight Sleep Authentication API
Eight Sleep Base API
Eight Sleep Device API
Eight Sleep Trends API
Eight Sleep User API