---
title: "Create API token"
method: POST
path: "/api/tokens"
tags: ["IntegrationHub"]
---

# Create API token

`POST /api/tokens`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/tokens`
- Auth: none declared

## Query parameters

- `token` string

## Request body

- object
  - `name` string, required
  - `scope` 'read-only' | 'full-access'
  - `tenantId` string, required
  - `userId` string, required
  - `scopes` 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)
