---
title: "Logs user into the system."
method: GET
path: "/user/login"
tags: ["user"]
---

# Logs user into the system.

`GET /user/login`

Log into the system.

## Query parameters

- `username` string
- `password` string

## Response `200`

successful operation

- string

## Other responses

- `400` — Invalid username/password supplied
- `default` — Unexpected error

## Changes

- **2025-03-12** `253de9e0f0ae` — 2 breaking, 2 warning, 2 info
  - the response's body type/format changed from `string`/`` to `object`/`` for status `default`
  - removed the media type `application/xml` for the response with the status `default`
  - the optional response header `X-Expires-After` removed for the status `default`
  - the optional response header `X-Rate-Limit` removed for the status `default`
  - …2 more

[Change history](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/changes/user/login/get.md)

---

[API](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0.md) · [All operations](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swagger/swagger-petstore-openapi-3-0/revisions/e1a2480ffa44/schema)
