---
title: "Changes to Create portal session"
method: POST
path: "/v2/portal.createSession"
---

# Changes to Create portal session

`POST /v2/portal.createSession`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 146 revisions.

- **2026-10-01** `28d66b07a72c`: 1 info
- **2026-09-23** `f357a2090000`: 1 warning
- **2026-09-17** `a4978263e893`: 1 info
- **2026-09-04** `d2cc587de584`: 2 breaking
- **2026-08-19** `5c727f63f96a`: 3 breaking, 2 warning, 2 info
- **2026-07-14** `43ad1ce9a152`: 2 info
- **2026-07-09** `d6f97fedb370`: 1 breaking, 5 info
- **2026-05-06** `b658a96df522`: 1 info

## Changes

- **2026-10-01** `28d66b07a72c`: 1 info
  - added the non-success response with the status `409`
- **2026-09-23** `f357a2090000`: 1 warning
  - removed the request property `preview`
- **2026-09-17** `a4978263e893`: 1 info
  - added the new `analytics:read` enum value to the request property `scopes/items/`
- **2026-09-04** `d2cc587de584`: 2 breaking
  - removed the enum value `analytics:read` of the request property `scopes/items/`
  - removed the enum value `keys:create` of the request property `scopes/items/`
- **2026-08-19** `5c727f63f96a`: 3 breaking, 2 warning, 2 info
  - added the new required request property `portal`
  - added the new required request property `scopes`
  - removed the required property `data/sessionId` from the response with the `200` status
  - removed the request property `permissions`
  - removed the request property `slug`
  - added the new optional request property `returnUrl`
  - added the required property `data/id` to the response with the `200` status
- **2026-07-14** `43ad1ce9a152`: 2 info
  - the endpoint scheme security `bearer` was added to the API
  - the endpoint scheme security `rootKey` was removed from the API
- **2026-07-09** `d6f97fedb370`: 1 breaking, 5 info
  - request property `permissions/items/` was restricted to a list of enum values
  - added the new `analytics:read` enum value to the request property `permissions/items/`
  - added the new `keys:create` enum value to the request property `permissions/items/`
  - added the new `keys:read` enum value to the request property `permissions/items/`
  - added the new `keys:reroll` enum value to the request property `permissions/items/`
  - removed the pattern `^[^.]+\.[^.]+\.[^.]+$` from the request property `permissions/items/`
- **2026-05-06** `b658a96df522`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/unkeyed/apis/unkey-api/docs/v2/portal.createSession/post.md) - [API](https://skmtc.dev/unkeyed/apis/unkey-api.md) - [Page](https://skmtc.dev/unkeyed/apis/unkey-api/changes/v2/portal.createSession/post)
