Phone-number

Use this endpoint to verify phone number

post/api/auth/phone-number/verify

Request body

phoneNumberstring required

Phone number to verify. Eg: "+1234567890"

codestring required

OTP code sent to the phone number

disableSessionboolean

Optional flag to skip session creation after verification

Response

Phone number verified successfully

statustrue required

Indicates if the verification was successful

tokenstring nullable

Session token if session is created, null if disableSession is true or no session is created

Changes

No recorded changes to this endpoint across all 1 revision of this API.