---
title: "Verify one-time token"
method: POST
path: "/api/one-time-tokens/verify"
tags: ["One-time tokens"]
---

# Verify one-time token

`POST /api/one-time-tokens/verify`

Verify a one-time token associated with an email address. If the token is valid and not expired, it will be marked as consumed.

## Request body

- object
  - `token` string, required — The one-time token to verify.
  - `email` string, required — The email address associated with the one-time token.

## Response `200`

The one-time token was verified successfully.

- object
  - `tenantId` string, required
  - `id` string, required
  - `email` string, required
  - `token` string, required
  - `context` object, required
    - `jitOrganizationIds` string[]
    - `interactionEvent` 'SignIn' | 'Register' | 'ForgotPassword'
  - `status` 'active' | 'consumed' | 'revoked' | 'expired', required
  - `createdAt` number, required
  - `expiresAt` number, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/revisions/0287c6a59eba/schema)
