Test a password’s strength
This API allows you to check whether or not the user’s provided password is valid, and to provide feedback to the user on how to increase the strength of their password. This endpoint adapts to your Project’s password strength configuration. If you’re using zxcvbn, the default, your passwords are considered valid if the strength score is >= 3. If you’re using LUDS, your passwords are considered valid if they meet the requirements that you’ve set with Stytch. Update your password strength configuration in the Stytch Dashboard.Documentation Index
Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful response
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
Returns true if the password passes our password validation. We offer two validation options, zxcvbn is the default option which offers a high level of sophistication. We also offer LUDS which is less sophisticated but easier to understand. If an email address is included in the call we also require that the password hasn't been compromised using built-in breach detection powered by HaveIBeenPwned.
Returns true if the password has been breached. Powered by HaveIBeenPwned.
The strength policy type enforced, either zxcvbn or luds.
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
Feedback for how to improve the password's strength HaveIBeenPwned.