> For the complete documentation index, see [llms.txt](https://docs.mburger.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mburger.cloud/api-docs-1/integrations-extensions/users/forgot-password.md).

# Forgot Password

{% hint style="info" %}
How to recover the password of a user using the **mobile** provider.
{% endhint %}

> A new password will be generated and sent by email

{% tabs %}
{% tab title="Request" %}
`POST https://mburger.cloud/api/forgot-password`

```bash
curl https://mburger.cloud/api/forgot-password
-X POST 
-H "Accept: application/json" 
-H "Content-Type: application/x-www-form-urlencoded"
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3" 
-d '<data>' 
```

#### &#x20;Parameters

| Name         | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| email        | string | Yes      | Email       |
| {% endtab %} |        |          |             |

{% tab title="Response" %}
When successful, a HTTP 200 and JSON like this is returned:

```bash
{
  "status_code": 0
}
```

{% endtab %}
{% endtabs %}
