auth

Redeem an emailed one-click sign-in link (dashboard page only)

Called by https://app.zettoai.com/auth/link with the token from a link Zetto emailed to the account's own address. Returns a one-time Supabase magic-link token hash the browser redeems with verifyOtp. Single use; links last at most 24 hours. Login links are never issued through the API — not to agents, not to anyone.

post/api/auth/link/redeem

Request

  • Base URL: https://api.zettoai.com
  • URL: https://api.zettoai.com/api/auth/link/redeem
  • Auth: none required

Request body

tokenstring required
nextstring

Same-origin path to land on

Response

Session token hash

token_hashstring
typestring
nextstring

Example response

{
  "type": "magiclink"
}

Changes

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