---
title: "Login to get a Bearer token"
method: POST
path: "/auth/login"
tags: ["auth"]
---

# Login to get a Bearer token

`POST /auth/login`

## Request body

- Login
  - `email` string, required
  - `password` string, required

## Response `200`

Login successful

- LoginResponse
  - `code` integer
  - `expire` string, date-time
  - `token` string — The token required for authentication via bearer scheme

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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