---
title: "POST /v2/api/users/{emailAddress}/verify-email-code"
method: POST
path: "/v2/api/users/{emailAddress}/verify-email-code"
---

# POST /v2/api/users/{emailAddress}/verify-email-code

`POST /v2/api/users/{emailAddress}/verify-email-code`

Verifies the email code sent to the users email address.

## Path parameters

- `emailAddress` string, required

## Request body

- object
  - `code` string

## Response `200`

Verification successful.

- object
  - `message` string
  - `token` string

## Other responses

- `400` — Missing parameters or invalid/expired verification code.
- `404` — Verification code not found.
- `500` — Unable to fullfil request due to internal server error.

## Changes

> 50 revisions in range; 1 could not be searched.

- **2024-07-18** `8b2004195023` — 1 info
  - endpoint added
- **2023-11-03** `b77bfb068867` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/changes/v2/api/users/:emailAddress/verify-email-code/post.md)

---

[API](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith.md) · [All operations](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unlock-protocol/unlock-locksmith/revisions/e003b998de45/schema)
