Skip to Content
DevelopersOverview

Selflane API

The Selflane API lets your own software read a business’s Selflane data, for example to feed a reporting dashboard or an accounting system. These pages are for the developer who writes that software.

How it works

  • The API lives at https://developer.selflane.com/v1. Every request is an HTTPS GET that returns JSON.
  • A business owner creates an API key in Back Office and gives it to you. The key decides which locations and which kinds of data you can read.
  • Money is in integer cents with a currency field (usd or cad). Times are ISO 8601 in UTC.

What you can read today

EndpointScopeReturns
GET /v1/locationsbusiness:readThe locations the key covers
GET /v1/businessbusiness:readOne location’s name, address, timezone, and currency

Coming soon: daily sales (GET /v1/reports, already documented) once Back Office lets owners add Reports to a key, then payouts, payments, menu, and orders. See Scopes for what each one will cover.

Start here

  1. Getting started: get a key and make your first call.
  2. Authentication: send and protect the key.
  3. Locations: work with keys that cover several locations.
  4. Scopes: what each scope returns.
  5. Errors, rate limits, and versions: handle failures and stay compatible.
  6. API reference: every endpoint, generated from the OpenAPI spec.
Last updated on