---
title: "Login For Access Token"
method: POST
path: "/token"
tags: ["Authentication"]
---

# Login For Access Token

`POST /token`

Login for access token.

## Response `200`

Successful Response

- TokenSchema — Token Model.
  - `access_token` string, required — A string token that is used for authentication and authorization purposes.
  - `token_type` string, required — The type or format of the access token.

## Changes

- **2023-11-08** `dbd91277da05` — 3 info
  - api operation id `login_to_obtain_access_token_token_post` removed and replaced with `login_for_access_token_token_post`
  - the `scope` request property default value `` was removed
  - removed the non-success response with the status `422`

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/token/post.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/dbd91277da05/schema)
