Skip to main content
Check how strong a password is

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

tenant
string

Which instance to measure the password against - each sets its own bar. It is needed only when nobody is signed in; otherwise the caller's own instance decides.

Pattern: ^[a-z0-9]+$
Example:

"default"

Body

application/json
password
string
required

The password to weigh up. It is only measured, never stored.

Minimum string length: 1

Response

Returns the strength of the password and what would improve it.

score
integer

How strong the password was found to be, from 0 for one that is guessed at once to 4 for one that holds up.

Example:

3

suggestions
string[]

What would make the password stronger, each named as a key the client turns into a sentence in the person's own language.

Example:
usable
boolean

Whether the password is strong enough to be accepted here. It is the score measured against the strength the tenant demands, so the same password can be usable on one instance and not on another.

Example:

true

warning
string

What is wrong with the password, named as a key the client turns into a sentence in the person's own language. Absent where nothing stands out.

Example:

"similar_to_common_password"