---
title: "Login"
method: POST
path: "/api/login"
tags: ["User"]
---

# Login

`POST /api/login`

## Request body

- AuthLoginRequest
  - `_id` string
  - `password` string

## Response `200`

OK

- AuthLoginResponse
  - `user` AuthLoginUser
    - `_id` string
    - `name` string
    - `role` string
  - `validated` boolean

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/zincsearch/apis/zinc-search-engine-api.md) · [All operations](https://skmtc.net/zincsearch/apis/zinc-search-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zincsearch/zinc-search-engine-api/versions/c7ce1991bb9a/schema)
