ApiOtp
Authorization
Descope Project ID AuthorizationBearer <token>
Project ID as bearer token.
In: header
Request Body
application/json
loginId?string
loginOptions?object
providerId?string
ssoAppId?string
Login a user based using an instant message to the given phone number. If the user does not exist, a new user will be created with the given phone number
curl -X POST "https://api.descope.com/v1/auth/otp/signup-in/im" \ -H "Content-Type: application/json" \ -d '{}'{ "maskedPhone": "string", "verificationAttempts": 0}export interface Response {maskedPhone?: stringverificationAttempts?: number} Was this helpful?