Passer au contenu principal
POST
https://{yourDomain}
/
passwordless
/
start
curl --request POST \
  --url https://{yourDomain}/passwordless/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET",
  "connection": "email",
  "email": "user@example.com",
  "send": "code"
}
'
{
  "_id": "<string>",
  "email": "<string>",
  "phone_number": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Corps

application/json
client_id
string
requis

Your application's Client ID

connection
enum<string>
requis

The connection type for passwordless authentication

Options disponibles:
email,
sms
send
enum<string>
requis

Whether to send a magic link or a code. Only 'code' is supported for SMS.

Options disponibles:
link,
code
client_secret
string

Your application's Client Secret (required for confidential clients)

email
string<email>

The user's email address (required when connection is 'email')

phone_number
string

The user's phone number in E.164 format (required when connection is 'sms')

authParams
object

Additional authentication parameters to include (scope, state, etc.)

Réponse

Passwordless request sent successfully

_id
string

Request ID

email
string

Email address (for email connections)

phone_number
string

Phone number (for SMS connections)