---
title: "Log in with email + password and get a Bearer token"
method: POST
path: "/auth/login"
---

# Log in with email + password and get a Bearer token

`POST /auth/login`

## Request

- Base URL: `https://api.eqvps.com/api/v1/eqvps`
- URL: `https://api.eqvps.com/api/v1/eqvps/auth/login`
- Auth: none declared

## Request body

- object
  - `email` string, email, required
  - `password` string, required
  - `token_ttl_days` integer: Token lifetime in days (default 365). The response returns token_expires_at.

## Response `200`

{ token, token_type: Bearer, token_expires_at, token_length }

## Other responses

- `422`: Invalid credentials

---

[API](https://skmtc.dev/eqvps/apis/eqvps-api.md) · [All operations](https://skmtc.dev/eqvps/apis/eqvps-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eqvps/apis/eqvps-api/revisions/2cbc15a2b088?raw)
