Verify phone number change
POST/user/phone-number/change/verify
POST
/user/phone-number/change/verify
Complete a previously-requested phone number change by submitting the OTP that was sent via SMS. On success the staged phone number becomes the user’s verified phone number. Requires elevated permissions.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”New phone number and OTP code to confirm the change
object
newPhoneNumber
required
The phone number that was previously requested via /user/phone-number/change
string
Example
+123456789otp
required
One-time password received via SMS at the new phone number
string
Example
123456Responses
Section titled “Responses”Phone number change verified successfully
string
default
Section titled “default”An error occurred while processing the request
Standardized error response
object
status
required
HTTP status error code
integer
Example
400message
required
Human-friendly error message
string
Example
Invalid email formaterror
required
Error code identifying the specific application error
string