ApiOtp
Authorization
Descope Project ID:Refresh JWT AuthorizationBearer <token>
Project ID:Refresh JWT as bearer token.
In: header
Request Body
application/json
loginId?string
phone?string
addToLoginIDs?boolean
Default
falseonMergeUseExisting?boolean
Default
falseproviderId?string
templateOptions?object
locale?string
failOnConflict?boolean
Update phone, and verify via OTP based on an instant message
curl -X POST "https://api.descope.com/v1/auth/otp/update/phone/im" \ -H "Content-Type: application/json" \ -d '{}'{ "maskedPhone": "string", "verificationAttempts": 0}export interface Response {maskedPhone?: stringverificationAttempts?: number} Was this helpful?