---
title: "The page's email sign-in: the code for a session whose refresh token stays in an http-only cookie"
method: POST
path: "/v1/auth/page/email/verify"
tags: ["auth"]
---

# The page's email sign-in: the code for a session whose refresh token stays in an http-only cookie

`POST /v1/auth/page/email/verify`

## Request

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

The email verify for a page (the daemon keeps /v1/auth/email/verify). Requires X-Six-Minute-Page: 1 from an allowed Origin. Same refusals as the daemon's route.

## Request body

- object
  - `email` string, email, required
  - `code` string, required

## Response `200`

The session without its refresh token, which is in the http-only cookie.

- object
  - `access_token` string, required
  - `organization_id` string, nullable
  - `user` object, required
    - `id` string, required
    - `email` string, required
    - `first_name` string, nullable
    - `last_name` string, nullable

## Other responses

- `400`: The body, query or path did not validate; `errors` lists the fields.
- `403`: The token verified but may not do this: no organisation, not provisioned, wrong role, or a device problem.
- `422`: The request is well-formed but cannot be carried out as it stands.
- `429`: Too many requests; `Retry-After` says how long to wait.
- `502`: An upstream this service depends on failed or answered nonsense.
- `503`: A capability this service was not configured with, or a practice system that could not be reached; the `type` says which.

---

[API](https://skmtc.dev/sixminute/apis/sixminute-api.md) - [All operations](https://skmtc.dev/sixminute/apis/sixminute-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sixminute/apis/sixminute-api/revisions/605577eadc10?raw)
