---
title: "Verify an access code and issue a session"
method: POST
path: "/api/auth/verify"
tags: ["auth"]
---

# Verify an access code and issue a session

`POST /api/auth/verify`

## Request

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

## Request body

- VerifyRequest
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `code` string, required
  - `email` string, required

## Response `200`

OK

- VerifyResponse
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `user_id` integer, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/hillstar/apis/rfpai-api-go.md) - [All operations](https://skmtc.dev/hillstar/apis/rfpai-api-go/llms.txt) - [OpenAPI document](https://skmtc.dev/hillstar/apis/rfpai-api-go/revisions/b2532dc47fc6?raw)
