Skip to Content

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
GET /v1/reports, GET /v1/reports/todayreports:readDaily sales summaries, and sales so far today
GET /v1/payoutspayouts:readPayouts and their fees
GET /v1/paymentspayments:readCard payments with their tips, refunds, and disputes
GET /v1/menumenu:readMenu: categories, items, modifiers, prices, taxes, and discounts
GET /v1/orders, GET /v1/orders/todayorders:readOrders with their items, amounts, and tenders
GET /v1/staffstaff:readStaff and their roles
GET /v1/timecardstimecards:readTimecards: clock-ins, breaks, and declared tips
GET /v1/cash-drawerscash:readCash drawers: sessions and counts

See Scopes for what each scope returns, and the API reference for every field.

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.

On this page