---
title: "Changes to 获取 access token"
method: POST
path: "/oauth/token"
---

# Changes to 获取 access token

`POST /oauth/token`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 11 revisions.

- **2024-08-14** `aa6951cc6ba1` — 1 breaking, 2 warning, 3 info
- **2024-08-14** `31431aaf46d3` — 1 info
- **2024-08-12** `abf18f0fc1b3` — 1 breaking

## Changes

- **2024-08-14** `aa6951cc6ba1` — 1 breaking, 2 warning, 3 info
  - added the new required request property `grant_type`
  - removed the optional property `expires_at` from the response with the `200` status
  - removed the optional property `scopes` from the response with the `200` status
  - added the optional property `expires_in` to the response with the `200` status
  - added the optional property `scope` to the response with the `200` status
  - added the optional property `token_type` to the response with the `200` status
- **2024-08-14** `31431aaf46d3` — 1 info
  - endpoint added
- **2024-08-12** `abf18f0fc1b3` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/docs/oauth/token/post.md) · [API](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1.md) · [Page](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/changes/oauth/token/post)
