One-time tokens

Verify one-time token

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

post/api/one-time-tokens/verify

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/one-time-tokens/verify
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Request body

tokenstring required

The one-time token to verify.

emailstring required

The email address associated with the one-time token.

Response

The one-time token was verified successfully.

tenantIdstring required
idstring required
emailstring required
tokenstring required
status'active' | 'consumed' | 'revoked' | 'expired' required
createdAtnumber required
expiresAtnumber required

Changes

No recorded changes to this operation across all 8 revisions of this API.