---
title: "Verifies the JWT token and returns the email"
method: POST
path: "/v1.0/users/token/resolve-email"
tags: ["User token"]
---

# Verifies the JWT token and returns the email

`POST /v1.0/users/token/resolve-email`

## Request body

- InvitationTokenDTO — The verification token
  - `token` string, required
  - `type` 'USER_REGISTRATION' | 'OPERATOR_INVITATION' | 'REGULATOR_INVITATION' | 'VERIFIER_INVITATION' | 'CHANGE_2FA' | 'GET_FILE' | 'RESET_PASSWORD', required

## Response `200`

OK

- EmailDTO — The user email
  - `email` string

## Other responses

- `400` — Bad Request Error Code | Description USER1001 | User is already registered EMAIL1001 | The verification link has expired TOKEN1001 | Invalid Token FORM1001 | Form validation failed
- `500` — Internal Server Error

---

[API](https://skmtc.net/beis/apis/esos-api-documentation.md) · [All operations](https://skmtc.net/beis/apis/esos-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beis/esos-api-documentation/revisions/aa4310e86ddd/schema)
