---
title: "User login"
method: POST
path: "/acc-api/auth/login"
tags: ["Authentication"]
---

# User login

`POST /acc-api/auth/login`

Authenticate user with username and password

## Request body

- LoginRequest
  - `username` string, required
  - `password` string, password, required

## Response `200`

Login successful

- LoginResponse
  - `success` boolean, required
  - `token` string, required — JWT token for authentication

## Other responses

- `400` — Invalid request parameters
- `403` — Invalid credentials

---

[API](https://skmtc.dev/nimtable/apis/nimtable-account-api.md) · [All operations](https://skmtc.dev/nimtable/apis/nimtable-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nimtable/nimtable-account-api/revisions/c863d4c0adcd/schema)
