---
title: "Verify a code and return a session and first key"
method: POST
path: "/v1/auth/verify"
tags: ["Authentication"]
---

# Verify a code and return a session and first key

`POST /v1/auth/verify`

## Request

- Base URL: `https://api.scripthaul.com`
- URL: `https://api.scripthaul.com/v1/auth/verify`
- Auth: none required

## Request body

- AuthVerifyRequest
  - `email` string, email, required
  - `code` string, required
  - `accept_terms` unknown, required

## Response `200`

Verified

- AuthVerifyResponse
  - `ok` unknown, required
  - `api_key` string
  - `session_expires_in` integer

## Other responses

- `400`: Typed API error
- `401`: Typed API error
- `403`: Typed API error
- `429`: Typed API error

---

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