Skip to content

Versioning and conventions

The current version is v1. Paths carry no version: the base URL is the same for every version.

https://app.ridebox.my/api

Choose a version with a request header. A request with no version header is served as v1.

X-API-Version: v1

You can send the version in Accept instead:

Accept: application/vnd.ridebox+v1+json

Asking for a version that is not supported returns 400, with the versions you can use in supported_versions. Other responses carry X-API-Version, which names the version that served the request. The GPX download does not.

New fields and new values can appear in v1, for example a new alert type. Ignore fields and values you do not recognise rather than failing on them.

Resources are identified by UUID, in the id field and in paths.

All times are in UTC, in ISO 8601 format, such as 2026-11-08T09:00:00Z. GET /user returns a timezone to display them in.

List endpoints accept these parameters and return data, links and meta.

Parameter Default Notes
page 1
per_page 15 Values above 100 are treated as 100

Telemetry and ride frames are not paginated.

Endpoint Controls
GET /devices/{device}/telemetry since defaults to the last 15 minutes. limit defaults to 100 and goes up to 1,000
GET /ride-sessions/{ride_session}/frames resolution is auto, full or a whole number. auto is capped at 1,200 points
Field Unit
speed_kmh, max_speed km/h
lean_deg, max_lean_l, max_lean_r Degrees
volts, min_volts Volts
distance_km Kilometres
moving_s Seconds
max_brake_g g
radius_m Metres