Register Validate Phone OTP

View as Markdown

Send or validate a phone OTP during registration. Set useCdi: true when sending the OTP for Consent-based Digital Identity (CDI) onboarding — the message informs the user they are consenting to link their network identity with your organization.

Authentication

ApiKeystring
Static API key issued to your tenant. Required on every request.

Request

This endpoint expects an object.
phoneNumberstringRequired
phoneNumberOtpRequestIdstringRequired
phoneNumberOtpstringRequired
useCdibooleanOptional
When true, sends a CDI onboarding OTP instead of a standard registration OTP.

Response

dataobject
error_codestring
error_messagestring