---
title: "Login route"
method: POST
path: "/v2/auth/login/"
tags: ["auth"]
---

# Login route

`POST /v2/auth/login/`

Log into your account and receive an authentication token

## Headers

- `Reposit-Auth` string

## Request body

- LoginRequest
  - `username` string
  - `password` string

## Response `200`

Successful login

- LoginResponse
  - `access_token` string
  - `expires_at` integer

---

[API](https://skmtc.net/repositpower/apis/reposit-customer-api-openapi-3-0.md) · [All operations](https://skmtc.net/repositpower/apis/reposit-customer-api-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/repositpower/reposit-customer-api-openapi-3-0/revisions/8c625fc29409/schema)
