ApiOtp
POST
/v1/auth/otp/signin/im

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 (IM) to the given phone number

curl -X POST "https://api.descope.com/v1/auth/otp/signin/im" \  -H "Content-Type: application/json" \  -d '{}'
{  "maskedPhone": "string",  "verificationAttempts": 0}
export interface Response {maskedPhone?: stringverificationAttempts?: number}
Was this helpful?