---
title: "Log in with email and password"
method: POST
path: "/api/v1/auth/login/password"
tags: ["Auth"]
---

# Log in with email and password

`POST /api/v1/auth/login/password`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/auth/login/password`
- Auth: none required

## Request body

- LoginPasswordRequest: LoginPasswordRequest schema
  - `account` string, required
  - `password` string, required

## Response `200`

OK

- LoginPasswordResponse: LoginPasswordResponse schema
  - `challenge_id` string, nullable
  - `enrollment_challenge_id` string, nullable
  - `token` string, nullable

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
