---
title: "Changes to POST /api/obtain-token"
method: POST
path: "/api/obtain-token"
---

# Changes to POST /api/obtain-token

`POST /api/obtain-token`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 59 revisions.

- **2026-11-13** `f930f1978e15`: 1 breaking, 2 info
- **2026-08-15** `9164f6763019`: 1 info
- **2025-08-17** `14b27b584fd2`: 6 info
- **2025-08-04** `ec9531386449`: 1 info

## Changes

- **2026-11-13** `f930f1978e15`: 1 breaking, 2 info
  - added `#/components/schemas/ObtainTokenCreateOtpErrorComponent` to the `oneOf[#/components/schemas/ObtainTokenCreateValidationError]/errors/items/` response property `oneOf` list for the response status `400`
  - added the new optional request property `otp`
  - added `otp` discriminator mapping keys to the `oneOf[#/components/schemas/ObtainTokenCreateValidationError]/errors/items/` response property for the response status `400`
- **2026-08-15** `9164f6763019`: 1 info
  - added the non-success response with the status `404`
- **2025-08-17** `14b27b584fd2`: 6 info
  - 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 `405`
  - added the non-success response with the status `406`
  - added the non-success response with the status `415`
  - added the non-success response with the status `500`
- **2025-08-04** `ec9531386449`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/docs/api/obtain-token/post.md) - [API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [Page](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/obtain-token/post)
