---
title: "Request password reset email"
description: "Send a password reset email via Resend (custom template).\n\nFirebase remains the identity backend (it mints the oobCode embedded in the\nlink), but the email itself is delivered by Resend — never Firebase's\nbuilt-in mailer. Always returns ``{\"status\": \"ok\"}`` regardless of whether\nthe email exists to prevent email enumeration attacks."
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Auth API › Auth

`POST /auth/forgot-password`

Send a password reset email via Resend (custom template).

Firebase remains the identity backend (it mints the oobCode embedded in the
link), but the email itself is delivered by Resend — never Firebase's
built-in mailer. Always returns ``{"status": "ok"}`` regardless of whether
the email exists to prevent email enumeration attacks.

## Request body

_Required._

- `email` (`forgot_password_auth_forgot_password_post.email`; string, required)
  - format `email`
- `tenant_id` (`forgot_password_auth_forgot_password_post.tenant_id`; any of, optional)
  - any of: `string`, `null`
- `app_name` (`forgot_password_auth_forgot_password_post.app_name`; any of, optional)
  - any of: `string`, `null`

## Example request

```json
{
  "email": "user@example.com",
  "tenant_id": "string",
  "app_name": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://truememory-auth.mvstg.com/auth/forgot-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "tenant_id": "string",
  "app_name": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://truememory-auth.mvstg.com/auth/forgot-password';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({email: 'user@example.com', tenant_id: 'string', app_name: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-auth.mvstg.com/auth/forgot-password"

payload = {
    "email": "user@example.com",
    "tenant_id": "string",
    "app_name": "string"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "status": "ok"
}
```

- `status` (`forgot_password_auth_forgot_password_post.response.200.status`; string, optional)
  - default `"ok"`

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`forgot_password_auth_forgot_password_post.response.422.detail`; array<object>, optional)
  - `loc` (`forgot_password_auth_forgot_password_post.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`forgot_password_auth_forgot_password_post.response.422.detail.msg`; string, required)
  - `type` (`forgot_password_auth_forgot_password_post.response.422.detail.type`; string, required)
  - `input` (`forgot_password_auth_forgot_password_post.response.422.detail.input`; unknown, optional)
  - `ctx` (`forgot_password_auth_forgot_password_post.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/auth/forgot-password/index.md
