---
title: "Get a lead"
method: GET
path: "/lead/{leadId}"
tags: ["Lead"]
---

# Get a lead

`GET /lead/{leadId}`

## Path parameters

- `leadId` string, required

## Query parameters

- `includeExternal` boolean

## Response `200`

Success

- LeadDto
  - `id` string, nullable
  - `name` string, nullable
  - `contactId` string, nullable
  - `lastMessageTime` string, date-time, nullable
  - `lastMessage` string, nullable
  - `lastMessageDirection` string, nullable
  - `lastMessageBotId` string, nullable
  - `mostRecentFailureReason` string, nullable
  - `mimicSourceId` string, nullable
  - `starred` boolean
  - `unread` boolean
  - `source` LeadSourceDto
    - `name` string, nullable
    - `id` string, nullable
  - `wontRespondUntil` string, date-time, nullable
  - `tags` string[], nullable
  - `fields` LeadFieldDto[], nullable
    - `field` string, nullable
    - `name` string, nullable
    - `value` string, nullable
    - `aiProduced` boolean
  - `instances` BotInstanceDto[], nullable
    - `botId` string, nullable
    - `botVersion` string, nullable
    - `followUpTimezoneKind` string, nullable
    - `followUpTimezone` string, nullable
    - `followUpTime` string, date-time, nullable
    - `isSmartFollowUpTime` boolean
    - `scheduleRespondTime` string, date-time, nullable

## Other responses

- `404` — Not Found

---

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