Skip to navigation

Send OTP to phone number

Sends a one-time password (OTP) to the provided phone number for verification

Request

This endpoint expects an object.
phoneNumberstringRequired

Phone number without country code (e.g., 589595029)

countryCodestringRequired

Country calling code with + prefix (e.g., +971, +1, +44)

Response

OTP sent successfully
successbooleanOptional
isNewUserbooleanOptional
Whether this phone number belongs to a new user
formattedPhoneNumberstringOptional
Masked phone number for privacy
onboardingCompletebooleanOptional

Whether the user has completed onboarding (only included when isNewUser is false)

otpstringOptional

OTP code (only included in development mode for testing purposes)

Errors

400
Bad Request Error