2026-11-23, platform changes. Browser calls from origins other than Sawa's
own web apps are now refused with 403 (§1): call the API from
your server. Documented write endpoints accept POST only; reads accept GET
or POST. The unpaid-subscription 402 is account_locked, or
account_recovery while an account is in recovery
(§15.8). API usage is billed on a monthly invoice, and
keys stop only past an agreed credit limit.
2026-11-23, third revision. Added §25, How to use this API: the onboarding path, a first call with the six things to check when it fails, endpoint choice with the cheap option named against the expensive one, a retry client with the four rules behind it, cost logging, four recipes, and the five traps that surface weeks into an integration. It is written to be read first and is the page the website dedicates to getting started. Section 14's table gained a "start here" pointer.
2026-11-23, later the same day. Every client-facing module is now documented. The route index in §14 went from 237 entries to 504, regenerated from the application's own router and limited to the endpoints that are part of the product. New sections: §16 Dispatch (33 endpoints), §17 Fuel (26), §18 Maintenance, services and expenses, §19 Checklists, §20 Spare parts inventory, §21 ETA, §22 Traffic fines, §23 Shift handover and custody and §24 The client's own billing.
Write endpoints are now listed rather than omitted, gated by scope instead. A
fourth scope, write:destructive, was added for the three endpoints that
destroy unrecoverable data. The previous revision called dispatch, fuel, spare
parts, ETA, maintenance and checklists "internal surfaces... not part of the
integration contract", which was wrong for a product we intend to sell: they
back the client's own portal, so the client already sees the data.
Still excluded, each with a stated reason in §14:
console, garage, driver app, tracker intake, the CRM integration, the in-portal
assistant, change_password, and the stage 0 security items.
2026-11-23. Added §15, API keys, usage and billing, marked not yet live: the Bearer credential for third party integrations, scopes, per key rate limits, cost units, the two 402 codes and the 60 second revocation window. The portal sign-in is unchanged. Also: 402 added to §10; per key limits noted in §11.
2026-11-14. Live: team rules (§5.6),
the push provider (§5.7), announcements (§5.8),
and owner-only switching and deleting of rules (§5.5); earlier the same day,
recipient_warnings (§5.5), owned_by_me and the owner-detach refusal (§4.1).
2026-11-01. Added fleet insights (§6.6c): weekly and monthly insights per user, their preferences, and the console's delivery log.
2026-10-07. Rewritten against the live API. Corrections to the previous revision, each of which would have blocked an integration:
- The base URL is
/api/, not the root. The previous text stated there was no prefix;/get_devicesreturns 404. - Corrected the name of the portal token's parameter.
Authorization: Beareris not accepted; it was previously documented as one of three working options. The real second option is theUser-Api-Hashheader.- Added:
timeis account-local whiletimestampis UTC. - Added: the two report engines disagree on date format, and the resulting error does not say so.
- Added: measured payload sizes, the report envelope, and the full type catalogue (21 + 10 + 66).
- Removed the "Items Requiring Human Input" section. The open questions it listed are answered above.