> For the complete documentation index, see [llms.txt](https://docs.rocketfuel.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rocketfuel.inc/developer-guides/api-reference/payins/utility-apis/shopper/verify-shoppers-email-id.md).

# Verify shopper's email id

For manual registration, the shopper must verify his email address to activate his account. The merchant website should display a form to accept the OTP, similar to the below screenshot.

![](/files/dzN45alu6BbJlmsjplXR)

<mark style="color:green;">`POST`</mark> `/auth/validate-email`

#### Headers

| Name                                            | Type   | Description                                                                                    |
| ----------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | <p>"Bearer" + shopper access token</p><p>Shopper access token return in /auth/register API</p> |
| Content-Type                                    | String | application/json                                                                               |

#### Request Body

| Name | Type   | Description                  |
| ---- | ------ | ---------------------------- |
| code | String | OTP received at the email id |

{% tabs %}
{% tab title="200: OK Success" %}

```javascript
{
  "ok": true,
  "result": {
    "success": true
  }
}
```

{% endtab %}

{% tab title="400: Bad Request Invalid code" %}

```javascript
{
  "ok": false,
  "statusCode": 400,
  "data": {
    
  },
  "message": "Code invalid"
}
```

{% endtab %}
{% endtabs %}
