---
title: "Complete a 2FA login challenge — verifies the code, issues cookies"
method: POST
path: "/api/auth/2fa/verify"
tags: ["Auth"]
---

# Complete a 2FA login challenge — verifies the code, issues cookies

`POST /api/auth/2fa/verify`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/auth/2fa/verify`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hiveship_access`
  - HTTP bearer

## Response `200`

Signed in; auth cookies set

## Other responses

- `401`: Challenge expired or code incorrect

---

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