Magic link & OTP
Verify passwordless email
Verify a user's identity using either a verification code or magic link token
post/api/v1/passwordless/email/verify
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScripthttps://skmtc.dev/scalekit/apis/scalekit-api-reference/docs/api/v1/passwordless/email/verify/post.tsA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"auth_request_id": "h5Y8kT5RVwaea5WEgW4n-6C-aO_-fuTUW7Vb9-Rh3AcY9qxZqQ",
"code": "123456",
"link_token": "afe9d61c-d80d-4020-a8ee-61765ab71cb3"
}Response
Successfully verified the passwordless authentication. Returns user email
Example response
{
"email": "john.doe@example.com",
"state": "kdt7yiag28t341fr1"
}Changes
No recorded changes to this operation across all 16 revisions of this API.