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

# Internal Login

`POST /internal-auth/login`

## Request

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

Login for internal users (GTM frontend).

## Request body

- InternalLoginRequest
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- InternalAuthResponse
  - `user` InternalUserResponse, required
    - `id` string, required
    - `email` string, required
    - `name` string, nullable
    - `role` string, nullable
  - `tokens` InternalTokenPair, required
    - `access_token` string, required
    - `refresh_token` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
