Identity-verification fraud gate
Fuse SIM-swap recency, port-event reassignment (number recycling), and silent-network-auth possession into ONE composite risk verdict (decision / risk_score / risk_level / reasons) for fraud gating. Caller-held backups (roaming, reputation, recycling) fill operator gaps; a device-bound access_token unlocks the silent-network-auth possession dip. Operator-asserted CAMARA signals win over caller-held backups; an unconfigured deployment degrades to caller-held evidence with operator signals in signals_unavailable (fail-closed). Read-only identity signals only — nothing is sent outbound.
Authorizations
Dashboard JWT token from Clerk
Headers
Stripe-style idempotency token. Pass a stable, client-generated value (1-255 chars) to dedupe retries on transient timeouts. The same key+credential+path replays the original response for 24h on 2xx (5min on 4xx, 30s on 5xx). Returns 409 if a concurrent request with the same key is already in flight; replayed responses include the Idempotency-Replay: true response header.
1 - 255Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Body
The phone number to gate, in E.164 format (e.g. +14155550100).
Device-bound access token from the 3-legged Number Verification flow. When present, possession is checked; otherwise the silent-network-auth signal is not evaluated.
SIM Swap look-back window in hours (CAMARA range 1..2400). Default 240.
Number Recycling / port-event look-back window in days (CAMARA range 1..2555). Default 30.
Caller-held port-event / recycling backup assertion.
Caller-held HLR roaming flag.
Caller-held line-type / reputation bucket.
low, medium, high, unknown Caller-held unconditional call-forwarding assertion.
Per-request fusion weight overrides (0-100 each); merged onto defaults.
Per-request decision-threshold overrides on the composite 0-100 score.
Response
Successful response.