---
title: "Verify Email Code"
method: POST
path: "/auth/email-code/verify"
tags: ["Oauth 2"]
---

# Verify Email Code

`POST /auth/email-code/verify`

## Request

- Base URL: `https://api.confbuilder.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.confbuilder.com/auth/email-code/verify`
- Auth: none declared

Verify the emailed code; returns the same TokenSchema as /auth/firebase.

## Request body

- EmailCodeVerifySchema
  - `email` string, email, required
  - `code` string, required

## Response `200`

Successful Response

- TokenSchema: Schema for token data.
  - `accessToken` string, required
  - `tokenType` string, required
  - `user` TokenDataSchema, required: Schema for token data.
    - `id` string, nullable
    - `name` string, nullable
    - `email` string, email, nullable
    - `isAdmin` boolean
    - `role` string, nullable
    - `teamIds` string[], nullable
    - `createdAt` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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