---
title: "Generate access token"
method: POST
path: "/v1/auth/token"
tags: ["Authentication"]
---

# Generate access token

`POST /v1/auth/token`

Authenticate and generate a JWT access token for subsequent API requests.

## Request body

- object
  - `username` string, required
  - `password` string, password, required

## Response `200`

JWT token generated successfully.

- object
  - `token` string — JWT Bearer token
  - `expires_in` integer

## Other responses

- `401` — Invalid username or password.

---

[API](https://skmtc.net/monogoto/apis/monogoto-softsim-apis.md) · [All operations](https://skmtc.net/monogoto/apis/monogoto-softsim-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monogoto/monogoto-softsim-apis/revisions/150b75e17112/schema)
