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
usernamestringfalseuser's username. If the credential type is OTP, should be a valid phone (An E.164 formatted phone number e.g +12345678901)
passwordstringfalse
credentialTypestringfalseValues:PASSWORD,OTP

This API is public.

Body Params
string
length between 5 and 128

user's username. If the credential type is OTP, should be a valid phone (An E.164 formatted phone number e.g +12345678901)

string
string
enum
Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json