---
title: "Login"
method: POST
path: "/auth/login"
tags: ["Authentication"]
---

# Login

`POST /auth/login`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Request body

- UserRequest
  - `email` string
  - `email_verified` boolean
  - `name` string
  - `nickname` string
  - `picture` string
  - `sub` string
  - `updated_at` string

## Response `202`

Successful Response

- UserResponse
  - `email` string
  - `email_verified` boolean
  - `name` string
  - `nickname` string
  - `picture` string
  - `sub` string
  - `updated_at` string
  - `id` string
  - `organization_id` string, required
  - `role` 'ADMIN': An enumeration.
  - `created_at` string, date-time

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/dataherald/apis/dataherald-api.md) - [All operations](https://skmtc.dev/dataherald/apis/dataherald-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dataherald/apis/dataherald-api/revisions/e168e98625a8?raw)
