---
title: "Changes to The OAuth 2.0 Token Endpoint"
method: POST
path: "/oauth2/token"
---

# Changes to The OAuth 2.0 Token Endpoint

`POST /oauth2/token`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 15 revisions.

- **2024-02-12** `02c4930b8c92`: 1 breaking
- **2022-11-10** `b01beb353b55`: 1 breaking
- **2022-10-27** `4505403da8d7`: 2 breaking, 6 info
- **2022-02-16** `82d233540486`: 6 info

## Changes

- **2024-02-12** `02c4930b8c92`: 1 breaking
  - the `id_token` response's property type changed from `integer` to `string`, and format from `int64` to no format for status `200`
- **2022-11-10** `b01beb353b55`: 1 breaking
  - the `scope` response's property type changed from `integer` to `string`, and format from `int64` to no format for status `200`
- **2022-10-27** `4505403da8d7`: 2 breaking, 6 info
  - the `id_token` response's property type changed from `string` to `integer`, and format from no format to `int64` for status `200`
  - the `scope` response's property type changed from `string` to `integer`, and format from no format to `int64` for status `200`
  - api operation id `oauth2Token` removed and replaced with `oauth2TokenExchange`
  - api tag `oAuth2` added
  - api tag `public` removed
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `500`
- **2022-02-16** `82d233540486`: 6 info
  - api operation id `oauth2TokenExchange` removed and replaced with `oauth2Token`
  - api tag `public` added
  - api tag `oAuth2` removed
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `500`

---

[Operation](https://skmtc.dev/ory/apis/ory-hydra-api/docs/oauth2/token/post.md) - [API](https://skmtc.dev/ory/apis/ory-hydra-api.md) - [Page](https://skmtc.dev/ory/apis/ory-hydra-api/changes/oauth2/token/post)
