Magic Link
GET /magic-link/verify
Verify magic link
Query Parameters
token*string
Verification token
callbackURL?string
URL to redirect after magic link verification, if not provided the user will be redirected to the root URL. Eg: "/dashboard"
errorCallbackURL?string
URL to redirect after error.
newUserCallbackURL?string
URL to redirect after new user signup. Only used if the user is registering for the first time.
Response Body
application/json
curl -X GET "https://example.com/api/auth/magic-link/verify?token=string"{ "session": {}, "user": {}}Is this page helpful?