# Check if a password meets the password policy **POST /api/sign-in-exp/default/check-password** Check if a password meets the password policy in the sign-in experience settings. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Body: application/json (object) - **password** (string) The password to check. - **userId** (string) The user ID to check the password for. It is required if rejects user info is enabled in the password policy. ## Responses ### 200 The password meets the password policy. #### Body: application/json (object) - **result** (boolean(true)) ### 400 The password does not meet the password policy or no user ID provided. ### 401 Unauthorized ### 403 Forbidden [Powered by Bump.sh](https://bump.sh)