Endpoints
Send Phone Code
POST /v3/phone/send/ — Send a one-time verification code via SMS.Check Phone Code
POST /v3/phone/check/ — Verify the code and retrieve phone risk data.How it works
- Call Send Phone Code with the phone number in E.164 format (e.g.,
+14155552671) - The user receives a code via SMS (valid for 5 minutes)
- Call Check Phone Code with the phone number and code
- Receive verification result plus risk signals (carrier type, virtual number detection)
Delivery channels
Didit supports multiple channels depending on country availability:Risk signals
For full response structure, see Phone Verification Report.
Provider outages
If the upstream phone provider fails to answer a send or check request, both endpoints return502 with code: "phone_provider_unavailable" instead of a generic error. This is safe to retry, is not billed, and does not consume an attempt from the per-number hourly cap. Branch on code rather than parsing the detail message, since the message text is not a stable contract.