Authentication
POST/v1/auth/magic-link/verify
Verify sign-in link
curl -X POST "https://api.52-28-238-205.sslip.io/v1/auth/magic-link/verify" \ -H "Content-Type: application/json" \ -d '{"token":"<one-time token>"}'Exchanges a magic link token for a console session cookie, creating the organization on a sign-up link. Callable by anyone holding the token; a link works once and expires after 15 minutes.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/auth/magic-link/verifyBase URL: https://api.52-28-238-205.sslip.io
Body
application/json · required. Fields are listed under Request body below.
application/json- body
token*TokenSuccess.
application/json- response
ok*Oknew_org*New Orghas_passkey*Has Passkey[key: string]?anyPOSTSend sign-in link
Sends a console sign-in magic link valid for 15 minutes. Callable by anyone; the answer is the same whether or not the account exists.
GETGet current user
Returns the signed-in user, current organization, role, effective permissions, memberships and passkey state. Console session only.