---
title: "Portal Login"
method: POST
path: "/api/portal/login"
---

# Portal Login

`POST /api/portal/login`

## Request

- Base URL: `https://api.gethesperai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gethesperai.com/api/portal/login`
- Auth: none declared

Sign a policyholder in with the email their insurer registered and
their policy number. One generic failure message, so the endpoint can't be
used to learn which emails or policy numbers exist.

## Request body

- LoginIn
  - `email` string, required
  - `policy_number` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator.md) - [All operations](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator/llms.txt) - [OpenAPI document](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator/revisions/1a031ee6acf1?raw)
