> ## 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.

# Strength Check

> Checks the strength of a password and returns a score with actionable feedback. Calls the `POST /sdk/v1/passwords/strength_check` endpoint. Does not create a session.

## Parameters

**password** `String` *required*

**email** `String?`

## Returns

**requestId** `String` *required*

**validPassword** `Boolean` *required*

**score** `Int` *required*

**breachedPassword** `Boolean` *required*

**strengthPolicy** `String` *required*

**breachDetectionOnCreate** `Boolean` *required*

**statusCode** `Int` *required*

**feedback** `ApiPasswordV1Feedback?`

**properties**

**warning** `String` *required*

**suggestions** `List\<String\>` *required*

**ludsRequirements** `ApiPasswordV1LUDSRequirements?`

**properties**

**hasLowerCase** `Boolean` *required*

**hasUpperCase** `Boolean` *required*

**hasDigit** `Boolean` *required*

**hasSymbol** `Boolean` *required*

**missingComplexity** `Int` *required*

**missingCharacters** `Int` *required*

```swift theme={null}
let params = PasswordsStrengthCheckParameters(password: "mypassword", email: "user@example.com")
let response = try await StytchConsumer.passwords.strengthCheck(params)
```
