Skip to navigation

Send OTP to new phone number for change

Sends OTP to a new phone number for phone number change verification. Requires Authorization header.

Request

This endpoint expects an object.
phoneNumberstringRequired

New phone number without country code (e.g., 589595029)

countryCodestringRequired

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

Response

OTP sent successfully
successbooleanOptional
messagestringOptional
formattedPhoneNumberstringOptional
Masked phone number for privacy
otpstringOptional

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

Errors

400
Bad Request Error