MX Labs Open Gateway

Verify a phone number in one call.

Silent CAMARA Number Verification across Bridge Alliance's operator networks, with an automatic SMS OTP fallback. Your app never touches telco keys, JWT signing, or the OIDC dance.

NodePython OpenAPIZero-config sandbox

1 · Install

Node
npm install @mxlabs/number-verify
Python
pip install mxlabs-number-verify

2 · Verify

  1. Start a session for the number the user claims to own.
  2. The user's device opens the returned URL over cellular data — that network path silently proves the number.
  3. Poll for the result. If silent verification can't fire, fall back to SMS.
import { MXNumberVerify } from '@mxlabs/number-verify';

const nv = new MXNumberVerify({ apiKey: process.env.MXLABS_API_KEY });

const { sessionId, authUrl } = await nv.start('+60123456789');
// → device opens authUrl over cellular ←
const result = await nv.pollVerify(sessionId);

if (result.status === 'verified') grantAccess(result.phone);
else await nv.smsSend(sessionId);      // fallback: OTP by SMS

Python is identical: nv.start(...)nv.poll_verify(...).

3 · Try it live — sandbox, no real phone

These calls hit the real API with a sandbox key and magic test numbers. No real operator, no real SMS. Pick a scenario:

Ready. Pick a scenario above.
Sandbox OTP is always 000000