---
title: "Create dashboard"
method: POST
path: "/api/v2/dashboards"
tags: ["Dashboards"]
---

# Create dashboard

`POST /api/v2/dashboards`

## Request

- Base URL: `https://api.kiloiot.io`
- URL: `https://api.kiloiot.io/api/v2/dashboards`
- Auth: API key in header `X-API-Key` and API key in header `X-Organization-Id`

Create a new dashboard or folder.

**Required scope:** `dashboards:write`

## Request body

- object
  - `name` string, required: Dashboard or folder name
  - `organizationId` string, required
  - `type` 'dashboard' | 'folder', required: 'dashboard' or 'folder'
  - `parentId` string: Parent folder ID (null for root)
  - `description` string
  - `icon` string
  - `displayOrder` integer
  - `configuration` string: JSON configuration string

## Response `200`

Created

- object
  - `id` string
  - `name` string
  - `type` string
  - `organizationId` string
  - `parentId` string
  - `displayOrder` integer
  - `createdAt` string
  - `updatedAt` string

## Other responses

- `401`: Missing or invalid API key
- `403`: Insufficient permissions (missing required scope)

---

[API](https://skmtc.dev/kiloiot/apis/kiloiot-public-api.md) · [All operations](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/revisions/faf39bde186c?raw)
