The machine-readable HTTP contract for the MX Labs Open Gateway number-verification backend: silent CAMARA Number Verification with an SMS OTP fallback.
- Spec:
openapi.yaml— OpenAPI 3.1. - One endpoint:
POST https://api.mxlab.sg/sdk.php, dispatched by anactionfield (start/verify/sms_send/sms_verify/ping). - Auth:
X-API-Keyheader. Sandbox keys are prefixedsbx_.
Prefer a ready-made client over generating one:
- Node:
mxlabs-number-verify - Python:
mxlabs-number-verify
# OpenAPI Generator (any of ~50 languages)
openapi-generator-cli generate -i openapi.yaml -g go -o ./mxlabs-gonpx @redocly/cli preview-docs openapi.yaml
# or
npx @redocly/cli lint openapi.yamlSandbox keys are fully simulated — no real operator, no real SMS — and only
accept the magic test numbers +10000000001 (verified), +10000000002
(→ SMS fallback), +10000000003 (not_verified). The sandbox OTP is always
000000. Ask MX Labs for a sandbox key.
MIT © MX Labs