Multi-tenant platform API for live video, local gigs, peer signaling, authentication, and billing.
| API | https://api.niilox.com/api/v1 |
| Health | https://api.niilox.com/health |
| Developer portal | www.niilox.com — keys, billing, usage, in-browser docs |
| Support | dev@niilox.com (uptime & SLA — no public status page with internal hostnames) |
Every request needs header X-App-ID: <your_tenant>. User actions use a session JWT; server integrations use niilox_sk_… API keys.
Start here: Developer workflow — sign-up → SDK → P2P/messaging → BYO storage (no broadcast SFU required).
Public docs: Step-by-step flows for VIP access, worker safety, geofence logic, and payment transactions are provided to registered developers. Contact dev@niilox.com for the full integration guide.
→ PLATFORM_STATUS.md — backend progress (operator doc).
Quick summary:
| Layer | Status |
|---|---|
| Go API + Postgres + native auth | Production |
| P2P calls, DMs, Rodent / GeoGig | Production |
@niilox/sdk + @niilox/kyc-ng |
v0.1 beta — monorepo |
| driftin.live livestream (reference) | Production — drift tenant only |
1. Create a tenant at www.niilox.com → sign in → Create account → pick an app id (e.g. myapp).
2. Ping the API with your key:
curl -s https://api.niilox.com/health
# {"ok":true}
curl -s https://api.niilox.com/api/v1/platform/ping \
-H "Authorization: Bearer niilox_sk_YOUR_KEY" \
-H "X-App-ID: myapp"3. Sign in a test user (guest, 24 h):
curl -s https://api.niilox.com/api/v1/auth/guest \
-H "X-App-ID: myapp" \
-H "Content-Type: application/json" \
-d "{}"Full walkthrough → Getting started (~15 min).
See Platform status for the full backend + frontends + ops picture.
SDK detail: @niilox/sdk on npm and monorepo packages/niilox-sdk/README.md.
| Guide | For |
|---|---|
| Developer workflow | Recommended path — P2P, messaging, BYO storage |
| Platform status | Operator backlog |
| Guide | For |
|---|---|
| Getting started | First tenant, first API call |
| Wiring checklist | End-to-end launch checklist |
| Developer integration | Day-to-day flows, WebSockets |
| API reference | Every endpoint |
| Guide | For |
|---|---|
| Native auth | Google, Apple, magic link, phone SMS OTP, passwords |
| SMS API | Bulk SMS, sender config, phone numbers (client.sms, client.numbers) |
| Authentication overview | JWT model, guest tokens, refresh |
| Guide | Tenant | Stack |
|---|---|---|
| Peer signaling | rodent, geogig |
WebRTC ICE + signal — default for calls |
| GeoGig | geogig |
Gigs, fiat checkout, P2P video, worker safety |
| Worker safety | geogig (+ others) |
Field-worker safety — guide on request |
| driftin.live livestream | drift only |
Reference app — contact dev@niilox.com for room routes |
Reference apps: GeoGig · Drift (reference)
| Guide | For |
|---|---|
| Payments | Token packs, Niilox hosted checkout, webhooks |
| Mobile payments | mobile_iap channel / App Store / Play |
| Bubble.io | No-code API Connector setup |
| Guide | For |
|---|---|
| Multi-tenant | X-App-ID, isolation, provisioning |
| Security | Auth model, tenant isolation, payments |
X-App-ID |
Product |
|---|---|
drift |
Drift — live streaming, chat, gifts, VIP rooms |
geogig |
GeoGig — local gigs, safety, P2P video glance |
rodent |
Rodent — peer sessions, Drop, paid bookings |
rabbaly |
Rabbaly |
| yours | Provision via the developer portal |
| Credential | Header | Used for |
|---|---|---|
| Tenant API key | Authorization: Bearer niilox_sk_… |
Server / Bubble backend — /platform/* |
| User session JWT | Authorization: Bearer <access_token> |
End users — rooms, gigs, chat, wallet |
This repository is the public documentation mirror for Niilox integrators. It contains guides only — no server source code or production secrets.
GitHub remotes (same content, different orgs):
| Remote | Repository |
|---|---|
origin |
Dr-M06/locust-api |
niilox |
niilox-communications/niilox-api |
Monorepo copy in the Drift workspace: keep in sync with backend/drift/docs/.
- In-browser docs: www.niilox.com/portal/dashboard/docs
- About Niilox: www.niilox.com/about
Questions or integration access: dev@niilox.com or open an issue on this repo.