ApiEnchanted link
POST
/v1/auth/enchantedlink/signup/sms

Authorization

Descope Project ID
AuthorizationBearer <token>

Project ID as bearer token.

In: header

Request Body

application/json

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

Create a new user based on the given identifier or phone

curl -X POST "https://api.descope.com/v1/auth/enchantedlink/signup/sms" \  -H "Content-Type: application/json" \  -d '{}'
{  "pendingRef": "string",  "linkId": "string",  "maskedPhone": "string"}
export interface Response {pendingRef?: stringlinkId?: stringmaskedPhone?: string}
Was this helpful?