---
title: "Verify the sign-in code"
method: POST
path: "/auth/verify-code"
tags: ["account"]
---

# Verify the sign-in code

`POST /auth/verify-code`

## Request

- Base URL: `https://account.close.city`
- URL: `https://account.close.city/auth/verify-code`
- Auth: none declared

Exchange the emailed six-digit code for a portal session. The session arrives as a Set-Cookie response header; keep a cookie jar and send it on the requests that follow.

## Request body

- object
  - `code` string, required: Six digits.
  - `email` string, email, required

## Response `200`

Signed in; session cookie set.

## Other responses

- `400`: Wrong or expired code.
- `429`: Too many attempts.

---

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