Hospify for Organisations · API and SDKs
Put Hospify SOS inside your own app
Your field agents get an SOS button, their live location reaches the right people while they're in danger, and nobody is left waiting. Your app, your users, your database. No Hospify accounts for your agents.
Test keys work straight away. Live keys unlock after business verification (KYB).
import { Hospify } from "@hospify/org-sdk";
const hospify = Hospify.start({
publishableKey: "hpk_live_...",
getToken: () => api.hospifyToken(), // from your server
});
hospify.sos.onUpdate((s) =>
show(s.responder ? `${s.responder} is on it` : "Alert sent"));
await hospify.sos.start({ note: "Need help" });How it works
- Step 1
Your server says who
Register your agents with your own IDs and your secret key. Give your app a one hour token for the signed-in agent.
- Step 2
Your app, our SOS
Add the SDK. The agent holds SOS in the app they already use, and Hospify gets their live location.
- Step 3
Hospify runs the emergency
Supervisors are alerted at once by push and SMS. If nobody answers, every admin is. The Live SOS Board shows the agent on a map.
- Step 4
Your system hears everything
Signed webhooks and an event feed carry every step. Your control room can acknowledge and resolve through the API.
Location only while it matters
Hospify sees an agent's location only while their SOS is open, with the NIPOST postcode of where they are.
Your data stays yours
Your ID and a display name: no phone numbers, no IDs, no photos. Closed incidents are deleted on your schedule. How we handle data
Test first, live after KYB
Build the whole flow with test keys: nobody is alerted. Live keys unlock once your business is verified. Going live