ApiOtp
POST
/v1/auth/otp/signup/im

Authorization

Descope Project ID
AuthorizationBearer <token>

Project ID as bearer token.

In: header

Request Body

application/json

phone?string
loginId?string
user?object
providerId?string
loginOptions?object

Create a new user using an instant message

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