---
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}`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/widgets/{widget_code}`
- Auth: OAuth 2

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.dev/kommo/apis/referencias-de-api-da-kommo.md) - [All operations](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/revisions/55101699dddb?raw)
