Authentication

Magic Link Login

Send a magic link email to start a passwordless sign-in flow.

POSThttps://util.axolite.app/v1/auth/login
FormatJSON
GroupAuthentication
DemoDocs only

Parameters

NameLocationRequiredDescription
emailbodyYesEmail address for the magic link. Example: [email protected]

Request examples

curl -X POST "https://util.axolite.app/v1/auth/login" \
+  -H "Content-Type: application/json" \
+  -d '{
  "email": "[email protected]"
}'

Sample response

{
  "ok": true,
  "message": "Check your email for the sign-in link."
}

Notes

  • Uses Resend in production and logs the link in development.
  • Always returns an `ok` payload when the request is accepted.