---
title: "POST /v1/dashboards/widgets"
method: POST
path: "/v1/dashboards/widgets"
tags: ["Dashboard"]
---

# POST /v1/dashboards/widgets

`POST /v1/dashboards/widgets`

## Request body

- DashboardWidget
  - `id` integer
  - `accountId` integer
  - `name` string, nullable
  - `jsonQuery` string, nullable
  - `dashboardId` integer

## Response `200`

OK

- DashboardWidgetQueryResult
  - `totalItems` integer
  - `items` DashboardWidget[], nullable
    - `id` integer
    - `accountId` integer
    - `name` string, nullable
    - `jsonQuery` string, nullable
    - `dashboardId` integer

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) · [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infoset/infoset-rest-api/revisions/f5bc39a1ac15/schema)
