Documentation

Keely for developers

The API reference.

Every path is under https://meetkeely.com/api/v1. Date ranges are inclusive. The OpenAPI document describes every parameter and schema.

Updated

On this page
  1. Endpoints
  2. GET /v1

Endpoints

EndpointScopeWhat it answers
GET /v1noneThe API’s name, version and endpoints
GET /v1/menone; profile for the profile and bandThe person’s id, your scopes, your app, their profile and band
GET /v1/days/latestnights or daysThe latest morning and day
GET /v1/days/{date}nights or daysOne morning and day
GET /v1/daysnights or daysUp to 92 days, from to to
GET /v1/series/{metric}nights or days, by metricOne metric, one point per date, up to 366 days
GET /v1/workoutsworkoutsUp to 92 days of workouts
GET /v1/workouts/{id}workoutsOne workout
GET /v1/normalsnightsThe person’s 30-night normals
GET /v1/journal/tagsjournalThe journal’s tags
POST /v1/journal/tagsjournal:writeMake a tag
GET /v1/journal/entriesjournalUp to 92 days of entries
POST /v1/journal/entriesjournal:writeAdd entries
DELETE /v1/journal/entries/{id}journal:writeDelete an entry your app added
GET /v1/changesanyWhat changed since a time, in your scopes
GET /v1/eventsanyThe events of the last 30 days, in your scopes: what the webhooks deliver
GET /v1/explainnoneThe topics Keely explains
GET /v1/explain/{topic}noneHow a number is computed

GET /v1

Scope
none

The API’s name and version, with links.

Response
{
  "name": "Keely API",
  "version": "1.0",
  "documentation": "https://meetkeely.com/developers",
  "openapi": "https://meetkeely.com/openapi.json",
  "methodology": "https://meetkeely.com/methodology",
  "endpoints": ["/v1", "/v1/me", "/v1/days/latest", "/v1/days/{date}", "…"]
}