---
title: "Login Verify"
method: POST
path: "/auth/login/verify"
tags: ["Auth"]
---

# Login Verify

`POST /auth/login/verify`

Verify login code and receive a new full-access API key.

## Request body

- LoginVerifyRequest
  - `email` string, required
  - `code` string, required — 6-digit verification code from email
  - `organization_id` string, nullable — Org to scope the new key to (must be a member)

## Response `200`

Successful Response

- LoginVerifyResponse
  - `api_key` string, required — Your new nk_ API key — store it securely, it cannot be retrieved again
  - `api_key_id` string, required
  - `user_id` string, required
  - `organization_id` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/trynia/apis/nia-ai-api.md) · [All operations](https://skmtc.net/trynia/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trynia/nia-ai-api/versions/d216ffc3efb6/schema)
