---
title: "Login For Access Token"
method: POST
path: "/token"
tags: ["User Methods"]
---

# Login For Access Token

`POST /token`

## Request

- Base URL: `https://api.metro.net`
- URL: `https://api.metro.net/token`
- Auth: none declared

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

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

## Response `200`

Successful Response

- Token
  - `access_token` string, required
  - `token_type` string, required

## Other responses

- `422`: Validation Error

---

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