---
title: "POST /users/login"
method: POST
path: "/users/login"
tags: ["users"]
---

# POST /users/login

`POST /users/login`

## Request body

- LoginUserDto
  - `email` string, required
  - `password` string, required

## Response `201`

- LoginResponseDto
  - `accessToken` string, required
  - `user` SanitizedUserResponseDto, required
    - `id` string, required
    - `email` string, required
    - `fullName` string, required
    - `profilePictureUrl` string, nullable, required
    - `verifiedAt` string, date-time, nullable, required

## Other responses

- `401` — The provided credentials are invalid or the user does not have a password configured.
- `500` — Something went wrong.

---

[API](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api.md) · [All operations](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentlabs-dev/agentlabs-api/revisions/5cafb4936550/schema)
