auth

Verify Email

Confirm an email-verification token.

Verifies the token's SHA-256 hash and expiry, marks the user's email verified (User.emailVerified = now), and consumes all of that email's outstanding verification tokens. Idempotent-ish: a re-used/last token for an already-verified user still resolves cleanly to the same verified state.

post/api/auth/verify-email

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/auth/verify-email
  • Auth
    none declared

Request body

tokenstring required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.