メインコンテンツへスキップ
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.

承認

Authorization
string
header
必須

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

ボディ

application/json
client_id
string
必須

Your application's Client ID

connection
enum<string>
必須

The connection type for passwordless authentication

利用可能なオプション:
email,
sms
send
enum<string>
必須

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

利用可能なオプション:
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.)

レスポンス

Passwordless request sent successfully

_id
string

Request ID

email
string

Email address (for email connections)

phone_number
string

Phone number (for SMS connections)