Communications API
Communication that still works
on weak networks.
Multi-tenant REST and WebSocket API for live rooms, peer signaling, messaging, SMS, and auth — production at api.niilox.com.
What ships
Documented modules. Production tenants.
From the public docs — live rooms, peer signaling, DMs, SMS, and native auth — with @niilox/sdk and the developer portal.
Tern
Encrypted messaging under 1 MB on Android and under 2 MB on iPhone — no phone number, just your Tern ID. Built for weak networks.
Open TernStream health
Idle rooms, caught early.
LiveKit SFU presence drives still-live prompts — not chat timers. Heartbeat resets the countdown; a missed window ends the room with idle_timeout.
- 01Signal
LiveKit SFU presence - 02Prompt
room:still_live_prompt - 03Heartbeat
POST …/live-heartbeat - 04Timeout
idle_timeout end
Built on Niilox
Apps that already run on this API.
Reference products on production tenants — not mockups.
Niilox API platform capabilities
Multi-tenant B2B API for adaptive WebRTC P2P video, live streaming, realtime messaging, push, SMS, PSTN voice, phone numbers, auth, and payments — built for 2G.
Adaptive WebRTC & live video
P2P calls and live rooms with an auto-adaptive layer — video switches to clean audio on poor links instead of freezing or breaking.
Stream health monitor
LiveKit SFU idle signals (host alone or zero viewers, not chat): WebSocket still-live prompts, rate-limited host heartbeat, reconnect replay, and auto-end on idle_timeout.
Realtime messaging
DMs, typing indicators, presence, room chat, and personal feeds over WebSockets.
Geo safety ping
Live GPS pings on active gigs — geofence check-in, location trails, and alerts when a worker leaves the site.
Voice & SMS
Dedicated phone numbers, outbound PSTN dial, inbound forwarding, and transactional SMS — telecom access request in the portal.
Auth & identity
Phone OTP, Google and Apple sign-in, WebAuthn passkeys, magic links, ID verification.
Payments & wallet
Checkout, token packs, mobile IAP, payouts, and multi-currency wallet.
Platform primitives
Per-tenant API keys, usage metering, push, media storage, and scoped SQL console.