---
title: "POST /api/users/get-registration-code"
method: POST
path: "/api/users/get-registration-code"
tags: ["AccountMSW"]
---

# POST /api/users/get-registration-code

`POST /api/users/get-registration-code`

## Request body

- AccountsRegistrationcodeRequest
  - `username` string, nullable

## Response `200`

Success

- ForgotPasswordResponse
  - `content` ForgotPassword
    - `emailAddress` string, nullable
    - `registrationCode` string, nullable
    - `isFederatedUser` string, nullable
  - `operationStatus` string, nullable
  - `msgCode` string, nullable
  - `msgId` string, nullable
  - `msgDesc` string, nullable

---

[API](https://skmtc.dev/mysonicwall/apis/restapi-core-v1.md) · [All operations](https://skmtc.dev/mysonicwall/apis/restapi-core-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysonicwall/restapi-core-v1/revisions/ddffed195eba/schema)
