---
title: "Account Authentication"
method: POST
path: "/public/login"
tags: ["Auth API"]
---

# Account Authentication

`POST /public/login`

## Request

- Base URL: `https://162.159.120.206`
- URL: `https://162.159.120.206/public/login`
- Auth: HTTP bearer

Admin Login API

## Request body

- UserRequest
  - `userId` string
  - `userNm` string
  - `userPw` string
  - `email` string
  - `phone` string
  - `deptNm` string
  - `rankNm` string
  - `expireDt` string, date-time, required
  - `useYn` string
  - `myRoles` integer[], required

## Response `200`

OK

- ChamomileResponseUserResponse
  - `code` integer
  - `message` string
  - `data` UserResponse
    - `accessToken` string
    - `username` string
    - `deptNm` string
    - `latestLoginDate` string, date-time
    - `latestLoginIp` string
    - `roles` string[]
    - `menus` object
    - `testNumber` integer
    - `changePwYn` boolean
    - `message` string

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/lotteinnovate/apis/lotteinnovate-api.md) - [All operations](https://skmtc.dev/lotteinnovate/apis/lotteinnovate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lotteinnovate/apis/lotteinnovate-api/revisions/423a0490d0a2?raw)
