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

# Sign in with email and password

`POST /auth/login`

## Request

- Base URL: `https://foresea.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://foresea.ink/auth/login`
- Auth: none declared

Verify an email/password account and return a session token.

## Request body

- LoginRequest: Email + password sign-in submitted by the browser.
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- SessionResponse: Issued after a successful Google sign-in.
  - `token` string, required
  - `user_id` string, required
  - `email` string, required
  - `name` string, required
  - `picture` string, required

## Other responses

- `422`: Validation Error

---

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