---
title: "List leads"
method: GET
path: "/lead"
tags: ["Lead"]
---

# List leads

`GET /lead`

## Query parameters

- `page` integer
- `pageSize` integer
- `sourceId` string
- `leadId` string

## Response `200`

Success

- LeadDtoPaginated
  - `total` integer
  - `results` LeadDto[], nullable
    - `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
  - `page` integer
  - `pageSize` integer

---

[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)
