---
title: "Changes to Add personal access token"
method: POST
path: "/api/users/{userId}/personal-access-tokens"
---

# Changes to Add personal access token

`POST /api/users/{userId}/personal-access-tokens`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 8 revisions.

- **2026-09-29** `f6be196bc327`: 1 breaking

## Changes

- **2026-09-29** `f6be196bc327`: 1 breaking
  - the `userId` response property's maxLength was increased from `21` to `128` for the response status `201`

---

[Operation](https://skmtc.dev/logto/apis/logto-api-references/docs/api/users/:userId/personal-access-tokens/post.md) - [API](https://skmtc.dev/logto/apis/logto-api-references.md) - [Page](https://skmtc.dev/logto/apis/logto-api-references/changes/api/users/:userId/personal-access-tokens/post)
