> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elumenta.ru/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Email

> Confirm email address and reset password

## Verify Email

After registering with email, you receive a verification link. Extract the token from the link and call:

```bash theme={null}
curl -X POST https://elumenta.ru/api/v2/auth/verify-email \
  -H "Content-Type: application/json" \
  -d '{"token": "token_from_email_link"}'
```

Returns `200 OK` on success.

## Reset Password

Send a reset link to your email:

```bash theme={null}
curl -X POST https://elumenta.ru/api/v2/auth/forgot-password \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'
```

Then confirm the reset with the token from the email:

```bash theme={null}
curl -X POST https://elumenta.ru/api/v2/auth/reset-password \
  -H "Content-Type: application/json" \
  -d '{"token": "token_from_email", "new_password": "newSecurePass123"}'
```

Returns `200 OK` on success.

<Tip>
  If you signed up via Telegram or Google, you can add an email/password in [User Settings](/en/api-reference/user/settings).
</Tip>
