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

Authorization

Descope Project ID
AuthorizationBearer <token>

Project ID as bearer token.

In: header

Request Body

application/json

loginId?string
redirectUrl?string
loginOptions?object
providerId?string
ssoAppId?string
useRecovery?boolean

Login a user based on an enchanted link that will be sent by SMS

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