internal

Verify Email Endpoint

Verify a user's email address using the token from the verification email.

Magic-link semantics: the single-use, expiring token that just arrived in the mailbox proves control of it, so the verified user is signed in on the same response (cookie + access_token) and lands on the continuation instead of retyping the password chosen a minute earlier. Accounts with 2FA are never auto-signed-in (2FA can only be enabled after a login, so this only concerns re-verification of an existing account).

post/auth/verify-email

Request

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

Query parameters

tokenstring required

Verification token from email

Response

Successful Response

successboolean required
messagestring required
access_tokenstring nullable

Changes

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