---
title: "Obtener un lead entrante por su UID"
method: GET
path: "/api/v4/leads/unsorted/{uid}"
---

# Obtener un lead entrante por su UID

`GET /api/v4/leads/unsorted/{uid}`

Este método permite obtener los datos específicos de un lead entrante por su UID.

## Path parameters

- `uid` string, required

## Response `200`

200

- object
  - `uid` string
  - `source_uid` string
  - `source_name` string
  - `category` string
  - `pipeline_id` integer
  - `created_at` integer
  - `metadata` object
    - `from` string
    - `to` string
    - `received_at` integer
    - `service` string
    - `client` object
      - `name` unknown
      - `avatar` unknown
    - `origin` object
      - `chat_id` string
      - `ref` unknown
      - `visitor_uid` string
    - `last_message_text` integer
    - `source_name` string
  - `account_id` integer
  - `_links` object
    - `self` object
      - `href` string
  - `_embedded` object
    - `contacts` object[]
      - `id` integer
      - `_links` object
        - `self` object
          - `href` string
    - `leads` object[]
      - `id` integer
      - `_links` object
        - `self` object
          - `href` string
    - `companies` unknown[]
      - unknown

## Other responses

- `401` — 401

---

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