---
title: "User login"
method: POST
path: "/auth/login"
tags: ["Auth"]
---

# User login

`POST /auth/login`

Login with account credentials, sets session cookie on success

## Request body

- object
  - `account` string
  - `client_id` string
  - `grant_type` string
  - `password` string

## Response `200`

OK

- UtilsResponse
  - `code` integer
  - `data` unknown
  - `message` string

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/lxpio/apis/omnigram-api.md) · [All operations](https://skmtc.net/lxpio/apis/omnigram-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lxpio/omnigram-api/revisions/58911ffb3093/schema)
