---
title: "Issue OAuth 2.0 token"
method: POST
path: "/oauth2/token"
tags: ["OAuth 2.0"]
---

# Issue OAuth 2.0 token

`POST /oauth2/token`

## Headers

- `Authorization` string

## Response `200`

- TokenResponse
  - `access_token` string — The access token issued by the authorization server
  - `token_type` string — The type of the token issued
  - `expires_in` integer — The lifetime in seconds of the access token
  - `refresh_token` string — The refresh token, which can be used to obtain new access tokens
  - `refresh_token_expires_in` integer — The lifetime in seconds of the refresh token

## Other responses

- `400` — Invalid request - missing or invalid parameters
- `401` — Unauthorized - invalid client credentials

---

[API](https://skmtc.net/buddy/apis/buddy-api.md) · [All operations](https://skmtc.net/buddy/apis/buddy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/buddy/buddy-api/revisions/c72dad76b50c/schema)
