Auth

Consume a magic-link token and exchange it for an access token

post/auth/magic-link/consume

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/auth/magic-link/consume
  • Auth: none declared

Request body

tokenstring required

Plaintext magic-link token from the email URL

Example request

{
  "token": "a1b2c3..."
}

Response

Token accepted, user marked verified, JWT issued

accessTokenstring required

Bearer JWT access token

Changes

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