---
title: "Verify magic link"
method: POST
path: "/auth/magiclink/verify"
tags: ["auth"]
---

# Verify magic link

`POST /auth/magiclink/verify`

Verify magic link token and return JWTs

## Request body

- object
  - `token` string, required — 6-digit code
  - `verificationId` string, uuid — Verification row id (from magic link URL)
  - `email` string, email — Email (for code entry on login page)

## Response `200`

Default Response

- object
  - `token` string, required
  - `refreshToken` string, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `404` — Default Response
- `429` — Default Response

---

[API](https://skmtc.net/blockmatic/apis/basilic-api.md) · [All operations](https://skmtc.net/blockmatic/apis/basilic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockmatic/basilic-api/versions/b2c23a2d8170/schema)
