POST /auth/passwordless/verify
Verify the passwordless login code and get access token
Verify the passwordless login code and get access token
| Key | Type | Example | Description |
|---|---|---|---|
| entity optional | string |
"example-string"
|
Entity identifier (optional)
|
| identifier required | string |
"example-string"
|
Email or phone number
|
| type required | string |
"email"
|
Allowed:
email, phone |
| code required | string |
"example-string"
|
6-character verification code
|
| request_refresh_token optional | boolean |
true
|
Generate refresh token (optional)
|
{
"access_token": "example-string",
"expiry": 42,
"expiry_renew": 42,
"verified": true,
"2fa": [
"example-string"
],
"default_2fa": "example-string",
"user": {},
"device": {},
"ip": "example-string",
"refresh_token": "example-string",
"refresh_token_expiry": 42
}
{
"error": "ERROR_KEY"
}
| Permission | Description |
|---|---|
*public |
No authentication required — public endpoint |
Back to Authentication Return to the Authentication category to view other endpoints All API Categories Browse all available API categories