---
title: "Handles signin and token production"
method: POST
path: "/auth/login"
tags: ["auth"]
---

# Handles signin and token production

`POST /auth/login`

JWT can be received by signing in

## Response `200`

OK

- ApiHTTPAuthorizeResp
  - `message` string
  - `role` string
  - `token` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

## Changes

> 2 revisions in range; 1 could not be searched.

- **2021-03-02** `00c7dd549484` — 2 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`

[Change history](https://skmtc.dev/sdslabs/apis/beast-api/changes/auth/login/post.md)

---

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