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 Base API

Adjustable Base position control (unofficial).

Eight Sleep Base 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 Base. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 2 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.

2 operations 2 paths 2 schemas 1 GET1 POST

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 Base 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 2

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

Base 2

Adjustable Base position control (unofficial).

GET
/v1/users/{userId}/base
Get adjustable Base state (unofficial)
getBase 1 param → 200401
POST
/v1/users/{userId}/base/angle
Set adjustable Base angles or preset (unofficial)
setBaseAngle 1 param body → 200401

Schemas 2

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

BaseState
object
4 properties
BaseAngleUpdate
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs Eight Sleep publishes across the network.

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