---
title: "Verify magic link"
method: GET
path: "/api/v1/auth/magic/{token}"
tags: ["Auth"]
---

# Verify magic link

`GET /api/v1/auth/magic/{token}`

## Request

- Base URL: `https://api.proof.holdings`
- URL: `https://api.proof.holdings/api/v1/auth/magic/{token}`
- Auth: none declared

Verify auth session via magic link (email login). Sets JWT cookie and redirects to the page the sign-in started from (`return_to` at session creation), else the dashboard.

## Path parameters

- `token` string, required: Magic link or callback token

## Other responses

- `302`: Redirects to the sign-in's `return_to` path, else the dashboard, with JWT cookie set
- `400`: Invalid or expired token

---

[API](https://skmtc.dev/proof/apis/proof-holdings-api.md) · [All operations](https://skmtc.dev/proof/apis/proof-holdings-api/llms.txt) · [OpenAPI document](https://skmtc.dev/proof/apis/proof-holdings-api/revisions/b15f506de696?raw)
