---
title: "Obtendo as informações do widget pelo seu código"
method: GET
path: "/api/v4/widgets/{widget_code}"
---

# Obtendo as informações do widget pelo seu código

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

Este método permite obter as informações de um widget público ou de um widget privado enviado pelo usuário atual.

## 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/referencias-de-api-da-kommo.md) · [All operations](https://skmtc.net/kommo/apis/referencias-de-api-da-kommo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/referencias-de-api-da-kommo/revisions/98fdf05c2f5b/schema)
