List the caller's devices
Rate limit 120 requests/min (authenticated)
const url = 'https://app.ridebox.my/api/devices?page=1&per_page=15';const options = { method: 'GET', headers: {'X-API-Version': 'v1', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.ridebox.my/api/devices?page=1&per_page=15' \ --header 'Authorization: Bearer <token>' \ --header 'X-API-Version: v1'Devices owned by the authenticated account, paginated and ordered by name.
Authenticated tier: 120 requests/min per user.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “ Header Parameters ”Selects the API version. With no version header the request is served as v1. An Accept: application/vnd.ridebox+v1+json header selects the version too; X-API-Version is read first when both are sent. An unsupported version answers 400 with supported_versions.
Example
v1Query Parameters
Section titled “ Query Parameters ”Page number, 1-based.
Example
1Items per page. Defaults to 15. A value above 100 is clamped to 100, not rejected.
Example
15Responses
Section titled “ Responses ”Paginated list of the caller’s devices.
object
object
object
Never exceeds 100; a larger request is clamped, not rejected.
A device as returned by the list endpoint. id always holds a UUID.
object
What this box reports it can do. immobilizer enables the immobilize and mobilize commands.
Last state the box reported. Always false on a box without an immobilizer.
The current state of the device.
Null until the device’s first frame.
Example
{ "links": { "first": "https://app.ridebox.my/api/alerts?page=1", "last": "https://app.ridebox.my/api/alerts?page=3", "prev": null, "next": "https://app.ridebox.my/api/alerts?page=2" }, "meta": { "current_page": 1, "last_page": 3, "per_page": 15, "total": 41 }, "data": [ { "id": "YOUR_DEVICE_UUID", "name": "My Vespa", "armed": true, "state": "parked", "last_seen_at": "2026-09-12T02:14:00Z", "firmware_version": "1.4.2" } ]}Headers
Section titled “ Headers ”The API version that served this response. Always v1 on this surface.
Example
v1Requests permitted in the current window for the applicable tier.
Example
120Requests remaining in the current window.
Example
0Missing, invalid, expired or revoked token. When a token was presented, code tells an expired token from a revoked one.
The single shape used by every non-2xx response. message is always present and safe to display. errors is present only on 422. code is present on a 401 that presented a token.
object
Human-readable, safe to display to the end user.
Present only on 422. Field name to array of messages.
object
Tells an expired token, which you can replace by signing in again, from a revoked one.
Examples
No token presented
{ "message": "Unauthenticated."}Token past its 30-day expiry
{ "message": "Your session has expired. Please sign in again.", "code": "token_expired"}Token revoked server-side
{ "message": "Your session is no longer valid. Please sign in again.", "code": "token_revoked"}Headers
Section titled “ Headers ”The API version that served this response. Always v1 on this surface.
Example
v1Validation failed. errors is keyed by field name.
The single shape used by every non-2xx response. message is always present and safe to display. errors is present only on 422. code is present on a 401 that presented a token.
object
Human-readable, safe to display to the end user.
Present only on 422. Field name to array of messages.
object
Tells an expired token, which you can replace by signing in again, from a revoked one.
Example
{ "message": "The given data was invalid.", "errors": { "email": [ "The email field is required." ] }}Headers
Section titled “ Headers ”The API version that served this response. Always v1 on this surface.
Example
v1Rate limited. Back off and honour Retry-After.
The single shape used by every non-2xx response. message is always present and safe to display. errors is present only on 422. code is present on a 401 that presented a token.
object
Human-readable, safe to display to the end user.
Present only on 422. Field name to array of messages.
object
Tells an expired token, which you can replace by signing in again, from a revoked one.
Example
{ "message": "Too many requests. Please try again shortly."}Headers
Section titled “ Headers ”Seconds to wait before retrying.
Example
42Requests permitted in the current window for the applicable tier.
Example
120Requests remaining in the current window.
Example
0Unix timestamp at which the current window resets. Sent on 429.
Example
1789180500The API version that served this response. Always v1 on this surface.
Example
v1