---
title: "Getting the widget info by its code"
method: GET
path: "/api/v4/widgets/{widget_code}"
---

# Getting the widget info by its code

`GET /api/v4/widgets/{widget_code}`

This method allows getting the information on a public widget or a private widget uploaded by the current user.

## Path parameters

- `widget_code` string, required

## Response `200`

200

- object
  - `id` integer
  - `code` string
  - `version` string
  - `rating` string
  - `settings_template` object[]
    - `key` string
    - `name` string
    - `type` string
    - `is_required` boolean
  - `is_lead_source` boolean
  - `is_work_with_dp` boolean
  - `is_crm_template` boolean
  - `client_uuid` unknown
  - `is_active_in_account` boolean
  - `pipeline_id` unknown
  - `_links` object
    - `self` object
      - `href` string

## Other responses

- `401` — 401
- `404` — 404

---

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