---
title: "Get Widget Type (getWidgetType)"
method: GET
path: "/api/widgetType"
tags: ["widget-type-controller"]
deprecated: true
---

# Get Widget Type (getWidgetType)

`GET /api/widgetType`

> **Deprecated.**

Get the Widget Type by FQN. Widget Type represents the template for widget creation. Widget Type and Widget are similar to class and object in OOP theory.

Available for any authorized user.

## Query parameters

- `isSystem` boolean, required
- `bundleAlias` string, required
- `alias` string, required
- `fqn` string, required

## Response `200`

OK

- WidgetType
  - `id` WidgetTypeId
    - `id` string, uuid, required — ID of the entity, time-based UUID v1
    - `entityType` 'WIDGET_TYPE', required — string
  - `createdTime` integer — Timestamp of the Widget Type creation, in milliseconds
  - `tenantId` TenantId
    - `id` string, uuid, required — ID of the entity, time-based UUID v1
    - `entityType` 'TENANT', required — string
  - `fqn` string — Unique FQN that is used in dashboards as a reference widget type
  - `name` string — Widget name used in search and UI
  - `deprecated` boolean — Whether widget type is deprecated.
  - `scada` boolean — Whether widget type is SCADA symbol.
  - `version` integer
  - `descriptor` unknown

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
