PasswordStrengthCheck (Enterprise)

POST /v1/auth/passwords/strength_check

Perform a password strength check.

HTTP Request

POST /v1/auth/passwords/strength_check

Returns

A successful response returns an object with password strength properties such as score, crack_time and crack_time_display for UI. Higher score demonstrates higher security and the crack_time is calculated assuming unlimited programmatic attempts using standard compute power.

application/json

Body

  • password string Required

    Password for strength check.

Responses

POST /v1/auth/passwords/strength_check
curl \
 --request POST 'https://api.streambird.io/v1/auth/passwords/strength_check' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"password":"hbDh5zCYexLhDTLalkIy6lcO"}'
Request example
{
  "password": "hbDh5zCYexLhDTLalkIy6lcO"
}
Response examples (200)
{
  "score": 4,
  "crack_time": 367912301986925900000000000000000,
  "crack_time_display": "centuries"
}