---
title: "Reauthenticates the possession of an email or phone number for the purpose of password change."
method: POST
path: "/reauthenticate"
tags: ["user"]
---

# Reauthenticates the possession of an email or phone number for the purpose of password change.

`POST /reauthenticate`

For a password to be changed on a user account, the user's email or phone number needs to be confirmed before they are allowed to set a new password. This requirement is configurable. This API sends a confirmation email or SMS message. A nonce in this message can be provided in `PUT /user` to change the password on the account.

## Response `200`

A One-Time Password was sent to the user's email or phone.

- object

## Other responses

- `400` — HTTP Bad Request response. Can occur if the passed in JSON cannot be unmarshalled properly or when CAPTCHA verification was not successful. In certain cases can also occur when features are disabled on the server (e.g. sign ups). It may also mean that the operation failed due to some constraint not being met (such a user already exists for example).
- `429` — HTTP Too Many Requests response, when a rate limiter has been breached.

## Changes

- **2025-02-07** `4d0f1a6c1ad9` — 1 info
  - added the optional property `error_code` to the response with the `400` status
- **2023-12-13** `77f9aeb9339a` — 1 info
  - added the optional property `weak_password` to the response with the `400` status
- **2023-02-01** `144a34ca6d74` — 2 warning
  - removed the optional property `error_code` from the response with the `400` status
  - removed the optional property `weak_password` from the response with the `400` status

[Change history](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/changes/reauthenticate/post.md)

---

[API](https://skmtc.dev/supabase/apis/supabase-auth-rest-api.md) · [All operations](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/supabase-auth-rest-api/revisions/2e2a74a7459f/schema)
