auth

Verify Magic Link

Verify magic link token and return JWT

This endpoint is used when a user clicks a magic link from their email. It validates the token, clears it (one-time use), and returns a JWT that can be used to authenticate with NextAuth.

Important: Magic links should force a session change even if the user is already logged in with a different account (e.g., Google).

post/auth/verify-magic-link

Request

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

Request body

tokenstring required
industrystring nullable

Response

Successful Response

unknown required

Changes

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