---
title: "Verify Email"
method: POST
path: "/api/signup/verify-email"
tags: ["signup"]
---

# Verify Email

`POST /api/signup/verify-email`

## Request

- Base URL: `https://app.dataassist.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.dataassist.io/api/signup/verify-email`
- Auth: none declared

Consume a verification code, mark the email verified, and log the user in.

On success returns a session token so the SPA can drop the user straight onto
the dashboard. Used by:
  - the signup admin (after they create the org)
  - any user the admin adds via /api/users (who lands here from the link in
    their welcome email)

## Request body

- VerifyEmailRequest
  - `email` string, email, required
  - `code` string, required

## Response `200`

Successful Response

- VerifyEmailResponse
  - `verified` boolean, required
  - `token` string, nullable
  - `org_id` integer, nullable
  - `role` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataassist/apis/dataassist-io-server.md) · [All operations](https://skmtc.dev/dataassist/apis/dataassist-io-server/llms.txt) · [OpenAPI document](https://skmtc.dev/dataassist/apis/dataassist-io-server/revisions/43b22ccf75fe?raw)
