User GuideAPI Reference
ProductUse CasesResource CenterFAQAbout UsBook a DemoSign Up - It's Free
API Reference

Validate user credentials

Validate user credentials

This API can be used in order to validate the username and password are in a correct format before calling the create user API.
If the credentials are valid the success field will be true.
The API also returns the password strength.
The minimum score is determined by an environment variable.

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
usernamestringtrueuser's username. If the credential type is OTP, should be a valid phone (An E.164 formatted phone number e.g +12345678901)
passwordstringtrue
credentialTypestringfalseValues:PASSWORD,OTP

This API is public.

Language
Click Try It! to start a request and see the response here!