# Create new password identity verification **POST /api/experience/verification/new-password-identity** Create a NewPasswordIdentity verification record for the new user registration use. The verification record includes a unique user identifier and a password that can be used to create a new user account. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Parameters ## Body parameters Content-type: application/json - **identifier** (object) The unique user identifier.
Currently, only `username` is accepted. For `email` or `phone` registration, a `CodeVerification` record must be created and used to verify the user's email or phone number identifier. - **password** (string) The new user password. (A password digest will be created and stored securely in the verification record.) ## Responses ### 200: The NewPasswordIdentity verification record has been successfully created. #### Body Parameters: application/json (object) - **verificationId** (string) The unique verification ID of the newly created NewPasswordIdentity verification record. The `verificationId` is required when creating a new user account via the `Identification` API. ### 400: Bad Request ### 422: Unable to process the request.
- `user.username_already_in_use:` The provided username is already in use.
- `password.rejected:` The provided password is rejected by the password policy. Detailed password violation information is included in the response. [Powered by Bump.sh](https://bump.sh)