---
title: "Get widgets"
method: POST
path: "/widget.v2.WidgetService/GetWidgetsByIds"
tags: ["Widget (gRPC)"]
---

# Get widgets

`POST /widget.v2.WidgetService/GetWidgetsByIds`

## Request

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

Retrieve widget definitions by their IDs.

**Protocol:** gRPC

**Service:** `widget.v2.WidgetService`

**Method:** `GetWidgetsByIds`

**Required scope:** `dashboards:read`

## Response `200`

Successful gRPC response

## 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)
