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

# Login

`POST /v1/auth/login`

## Request

- Base URL: `https://scribe-api.telepatia.ai`
- URL: `https://scribe-api.telepatia.ai/v1/auth/login`
- Auth: HTTP bearer

Login via API key. Returns a verification code.

## Request body

- LoginRequest: Login request body.
  - `consultationInternalId` string, nullable

## Response `200`

Successful Response

- LoginResponse: Login response with verification code.
  - `code` string, required
  - `expiresAt` string, required
  - `expiresIn` integer, required
  - `redirectUrl` string, required

## Other responses

- `400`: Bad Request — invalid parameters, validation failures, or missing fields.
- `401`: Unauthorized — missing or invalid API key.
- `503`: Service Unavailable — an external dependency is down.

---

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