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

# Login For Access Token

`POST /v2/token`

Authenticate a user and issue a JWT access token based on valid credentials.

### Parameters:
- `form_data` (OAuth2PasswordRequestForm): The form data containing the username and password.

### Returns:
- `OAuth2Token`: An object containing the access token and token type for the authenticated user.

## Response `200`

Successful Response

- OAuth2Token
  - `accessToken` string, nullable
  - `tokenType` string
  - `mfaPending` boolean
  - `pendingToken` string, nullable

## Other responses

- `401` — Invalid authentication credentials.
- `422` — Validation Error

---

[API](https://skmtc.net/loyalty/apis/loyaltydog.md) · [All operations](https://skmtc.net/loyalty/apis/loyaltydog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loyalty/loyaltydog/versions/42b7b22af2b6/schema)
