---
title: "Changes to Generate tokens"
method: POST
path: "/oauth2/tokens"
---

# Changes to Generate tokens

`POST /oauth2/tokens`

> Every recorded change to this endpoint, newest first.
> 79 revisions in range; 9 not diffed.

## Timeline

Changed in 4 of 79 revisions.

- **2026-05-19** `7cab62b21830` — 1 info
- **2026-05-19** `ffd62224620b` — 2 info
- **2026-04-27** `98cbf79659c1` — 1 breaking
- **2026-04-27** `a5774ab4d465` — 5 breaking, 3 info

## Changes

- **2026-05-19** `7cab62b21830` — 1 info
  - added the non-success response with the status `429`
- **2026-05-19** `ffd62224620b` — 2 info
  - the endpoint scheme security `basicAuth` was added to the API
  - the endpoint scheme security `oAuth` was removed from the API
- **2026-04-27** `98cbf79659c1` — 1 breaking
  - media type `application/hal+json` was changed to a more general media type `application/json` for the response status `200`
- **2026-04-27** `a5774ab4d465` — 5 breaking, 3 info
  - request property `grant_type` was restricted to a list of enum values
  - the request property `code` became not nullable
  - the request property `redirect_uri` became not nullable
  - the request property `refresh_token` became not nullable
  - removed the media type `text/html` for the response with the status `200`
  - added the new `authorization_code` enum value to the request property `grant_type`
  - added the new `refresh_token` enum value to the request property `grant_type`
  - added the media type `application/hal+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/mollie/apis/mollie-api/docs/oauth2/tokens/post.md) · [API](https://skmtc.dev/mollie/apis/mollie-api.md) · [Page](https://skmtc.dev/mollie/apis/mollie-api/changes/oauth2/tokens/post)
