---
title: "Create a ChatGPT Sidecar session ticket with scoped capabilities"
method: POST
path: "/api/chatgpt-sidecar/sessions"
tags: ["ChatGPT Sidecar"]
---

# Create a ChatGPT Sidecar session ticket with scoped capabilities

`POST /api/chatgpt-sidecar/sessions`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/chatgpt-sidecar/sessions`
- Auth: none declared

Requires an authenticated Cernion tenant/user with the chatgpt-sidecar-creator role. Returns an opaque ticket URL and backend-generated prompt text; the response never echoes the session id/prompt back through the ticket endpoints.

## Query parameters

- `token` string

## Request body

- object
  - `ttl` string
  - `capabilityProfile` string
  - `writeScope` string
  - `origin` string
  - `metadata` string
  - `baseUrl` string
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Successful response

- object

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
