---
title: "Login For Access Token"
method: POST
path: "/api/auth/token"
tags: ["Authentication"]
---

# Login For Access Token

`POST /api/auth/token`

## Request

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

## Request body

- BodyLoginForAccessTokenApiAuthTokenPost
  - `username` string, required
  - `password` string, required
  - `grant_type` string, nullable
  - `scope` string, nullable
  - `client_id` string, nullable
  - `client_secret` string, nullable
  - `cross_region_attempt` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
