Ward stories · Sprint 164
The integration API
What went wrong
An ERP (Tally, SAP, Zoho), a call centre, a kiosk, a LIS/PACS vendor or a referral network had no way in except a person re-typing. Every /api/… route was session-bound.
What the screen does now
/setup/api (the hospital's keys with scopes, calls today and last use; New key → the key shown once; Scopes / Rotate / Disable / Revoke; the call log filtered by key), /developers (public: the ten-minute guide, the sandbox key, curl, the scope and endpoint tables, the Postman link), /api/docs (Swagger UI over /api/v1/openapi.json, the key pre-filled from ?key=).