---
title: "POST /v1/auth/login"
method: POST
path: "/v1/auth/login"
tags: ["UserCenter"]
---

# POST /v1/auth/login

`POST /v1/auth/login`

Login

## Request body

- UsercenterV1LoginRequest
  - `username` string
  - `password` string

## Response `200`

OK

- UsercenterV1LoginReply
  - `refreshToken` string
  - `accessToken` string
  - `type` string
  - `expiresAt` string

## Changes

- **2024-04-03** `ae599f31f558` — 1 info
  - endpoint added

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

---

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