Niilox API

Skip to main content

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.

Private messaging, without the weight · tern.niilox.com

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 Tern

Stream 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.

Read the docs →
  1. 01
    SignalLiveKit SFU presence
  2. 02
    Promptroom:still_live_prompt
  3. 03
    HeartbeatPOST …/live-heartbeat
  4. 04
    Timeoutidle_timeout end

Developers

Start free. Ship with docs.

  • TypeScript
  • Python
  • REST
  • WebSocket

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.

Number marketplace · Stream health monitor · llms.txt