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

Alarm and routine reads and control (unofficial).

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

This API exposes 3 operations across 3 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.

3 operations 3 paths 2 schemas 2 GET1 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 Alarms 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 3 paths, the API surfaces 3 operations — 2 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Alarms 3

Alarm and routine reads and control (unofficial).

GET
/v1/users/{userId}/alarms
List alarms (unofficial)
getAlarms 1 param → 200401
PUT
/v1/users/{userId}/alarms/{alarmId}
Update an alarm (unofficial)
updateAlarm 2 params body → 200401
GET
/v1/users/{userId}/routines
Get routines (unofficial)
getRoutines 1 param → 200401

Schemas 2

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

AlarmsResponse
object
1 property
Alarm
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs Eight Sleep publishes across the network.

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