---
title: "Verify magic link token"
method: GET
path: "/magic-link/verify"
tags: ["Magic Link Plugin"]
---

# Verify magic link token

`GET /magic-link/verify`

Verifies a magic link token. If a callback_url is provided and trusted, redirects the user with an exchange token appended. Otherwise returns the exchange token in the JSON response.

## Query parameters

- `token` string, required
- `callback_url` string

## Response `200`

OK

- MagicLinkVerifyResponse
  - `message` string, required
  - `token` string

## Changes

- **2026-07-09** `dad8e2644615` — 1 info
  - endpoint added
- **2026-07-08** `d2f9387037c5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/magic-link/verify/get.md)

---

[API](https://skmtc.dev/authula/apis/authula-api.md) · [All operations](https://skmtc.dev/authula/apis/authula-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authula/authula-api/revisions/85b69f817124/schema)
