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

# Reset By Email Start

> Initiates an email-based password reset by sending a reset link to the user's email address. Calls the `POST /sdk/v1/passwords/email/reset/start` endpoint. Generates and stores a PKCE code pair for use in the subsequent [resetByEmail] call.

## Parameters

<ParamField body="email" type="String" required />

<ParamField body="loginRedirectUrl" type="String?" />

<ParamField body="resetPasswordRedirectUrl" type="String?" />

<ParamField body="resetPasswordExpirationMinutes" type="Int?" />

<ParamField body="resetPasswordTemplateId" type="String?" />

## Returns

<ResponseField name="requestId" type="String" required />

<ResponseField name="statusCode" type="Int" required />

<RequestExample>
  ```swift theme={null}
  let params = PasswordsEmailResetStartParameters(email: "user@example.com")
  let response = try await StytchConsumer.passwords.resetByEmailStart(params)
  ```
</RequestExample>
