Self-host
Run your own gateway.
The MOSA app can use any server that speaks the gateway API, not only Talivio's. Run one for your team and add it in the app with a QR code.
How it fits together
Four steps from server to phone.
Implement the API
Your server answers the same REST endpoints and WebSocket frames as gateway.talivio.com. The full contract is in the API reference.
Serve it over HTTPS
Put it behind HTTPS with a valid certificate. Devices send their keys and tokens to it.
Make a QR code
Encode mosa://gateway/add?url= followed by your gateway's address.
Add it in the app
Settings → Gateways → Add Gateway, then scan the code.
The API
What the app calls.
| GET | /api/v1/gateway/status | Health check. The app calls it first. |
| POST | /api/v1/auth/register | Registers a device's public key and returns its credentials. |
| POST | /api/v1/messages/send | Accepts a sealed message for delivery. |
| GET | /api/v1/messages/receive/{userId} | Hands out sealed messages waiting for a device. |
| WS | /ws | Real-time delivery while the app is connected. |
| POST | /api/v1/files/send · /files/chunk | Files, in one piece or in chunks. |
What your server sees
Messages between MOSA users stay sealed end to end, so your server sees what ours sees: device and recipient IDs, sizes and times, plus IP addresses and user agents in its server logs. Never the content.
Our server software
The code behind gateway.talivio.com is not public. If your team needs a gateway and would rather not write one, write to us.