---
title: "login with password"
method: POST
path: "/auth/login"
tags: ["user"]
---

# login with password

`POST /auth/login`

## Request body

- Login
  - `email` string, required
  - `password` string, required

## Response `200`

Successfully authenticated. The session ID is returned in a cookie named `token` and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience.

---

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