---
title: "POST /authentication"
method: POST
path: "/authentication"
---

# POST /authentication

`POST /authentication`

login. returns a token for a user

## Request body

- AuthenticationRequest
  - `username` string, required
  - `password` string, required

## Response `200`

Authentication success

## Other responses

- `401` — Authentication failure

---

[API](https://skmtc.dev/librewiki/apis/libertyengine.md) · [All operations](https://skmtc.dev/librewiki/apis/libertyengine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/librewiki/libertyengine/revisions/658afde428d5/schema)
