---
title: "Forgot-password step 2: set new password and re-enter signin"
method: POST
path: "/identity/forgot_password/step_2"
tags: ["identity", "password"]
---

# Forgot-password step 2: set new password and re-enter signin

`POST /identity/forgot_password/step_2`

## Request body

- IdentityForgotPasswordStep2Input
  - `new_password` string
  - `session_token` string

## Response `200`

OK

- IdentitySignInStep1Output
  - `masked_phone_number` string
  - `session_token` string
  - `totp_secret` IdentityTOTPSecretOutput
    - `secret` string
    - `url` string
  - `twofa_method` string

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/stablesea/apis/stable-sea-backend.md) · [All operations](https://skmtc.net/stablesea/apis/stable-sea-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stablesea/stable-sea-backend/versions/3feea260296c/schema)
