> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/user/send-otp-to-email-for-authentication.md).

# Send OTP to Email for Authentication

Use the `POST /user/send-otp/` endpoint to send a One-Time Password (OTP) to the user's email for authentication purposes.

***

#### Parameters

**Request Body**

| **Field**   | **Type** | **Description**                                          |
| ----------- | -------- | -------------------------------------------------------- |
| `data`      | Object   | Request body containing the user's email address.        |
| **`email`** | String   | The email address to send the OTP to. Minimum length: 1. |

***

#### Responses

**Response Content Type**

| **Code** | **Description**                              |
| -------- | -------------------------------------------- |
| 201      | OTP successfully sent to the provided email. |

**Example Response**

```json
{
  "email": "user@example.com"
}
```
