---
title: "Changes to Create a new CLI session with auth code"
method: POST
path: "/api/v3/cli/create-session"
---

# Changes to Create a new CLI session with auth code

`POST /api/v3/cli/create-session`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 52 revisions.

- **2026-03-20** `1a01eea79bb9`: 3 info
- **2026-02-12** `881fa7b9eb11`: 2 info

## Changes

- **2026-03-20** `1a01eea79bb9`: 3 info
  - api tag `x-internal` added
  - added optional request body
  - added the required property `scope` to the response with the `201` status
- **2026-02-12** `881fa7b9eb11`: 2 info
  - added the required property `error/slug` to the response with the `400` status
  - added the required property `error/slug` to the response with the `500` status

---

[Operation](https://skmtc.dev/composiohq/apis/composio-platform-api/docs/api/v3/cli/create-session/post.md) - [API](https://skmtc.dev/composiohq/apis/composio-platform-api.md) - [Page](https://skmtc.dev/composiohq/apis/composio-platform-api/changes/api/v3/cli/create-session/post)
