---
title: "Email verification"
method: GET
path: "/api/auth/verify-email"
tags: ["Auth"]
---

# Email verification

`GET /api/auth/verify-email`

# Errors
Returns an error if token is invalid, expired, or database operations fail.

## Query parameters

- `token` string, required

## Other responses

- `302` — Redirect to frontend after verification
- `400` — Invalid or expired token
- `500` — Email verification service error or database failure

## Changes

- **2025-09-01** `1d20aeaaa6cf` — 2 breaking, 2 info
  - removed the media type `text/plain` for the response with the status `400`
  - removed the media type `text/plain` for the response with the status `500`
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `500`
- **2025-09-01** `a2488be8a6e4` — 2 breaking, 2 info
  - removed the media type `application/json` for the response with the status `400`
  - removed the media type `application/json` for the response with the status `500`
  - added the media type `text/plain` for the response with the status `400`
  - added the media type `text/plain` for the response with the status `500`

[Change history](https://skmtc.dev/patroninc/apis/patron-api/changes/api/auth/verify-email/get.md)

---

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