---
title: "Login For Access Token"
method: POST
path: "/token"
---

# Login For Access Token

`POST /token`

## Request

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

## Request body `application/x-www-form-urlencoded`

- BodyLoginForAccessTokenTokenPost
  - `grant_type` string, nullable
  - `username` string, required
  - `password` string, password, required
  - `scope` string
  - `client_id` string, nullable
  - `client_secret` string, password, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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