---
title: "GET /leads"
method: GET
path: "/leads"
tags: ["LeadController"]
---

# GET /leads

`GET /leads`

| Permissions |
| ------- |
| 10203   |

## Response `200`

Array of Lead model instances

- LeadWithRelations[]
  - `deleted` boolean
  - `deletedOn` string, date-time, nullable
  - `deletedBy` string, nullable
  - `createdOn` string, date-time
  - `modifiedOn` string, date-time
  - `createdBy` string
  - `modifiedBy` string
  - `id` string
  - `firstName` string, required — first name of the lead
  - `lastName` string, required — last name of the lead
  - `companyName` string, required — name of the lead's company
  - `email` string, required — email of the lead
  - `isValidated` boolean, required — whether the lead`s email has been validated or not
  - `addressId` string — id of the address of the lead
  - `tenant` Tenant — main model of the service that represents a tenant in the system, either pooled or siloed
    - `deleted` boolean
    - `deletedOn` string, date-time, nullable
    - `deletedBy` string, nullable
    - `createdOn` string, date-time
    - `modifiedOn` string, date-time
    - `createdBy` string
    - `modifiedBy` string
    - `id` string
    - `name` string, required — name of the tenant
    - `status` 0 | 1 | 2 | 3 | 4 | 5, required — status of a tenant, it can be - 0(active), 1(provisioning),2(deprovisioning),3(inactive)
    - `key` string, required — a short string used to identify a tenant. This is also used as the namespace and subdomain for this particular tenant
    - `spocUserId` string — user id of the admin user who acts as a spoc for this tenant.
    - `domains` string[], required
    - `leadId` string — id of the lead from which this tenant was generated. this is optional as a tenant can be created without this lead.
    - `addressId` string — id of the address of the tenant
  - `address` Address — this model represents the address of a company or lead
    - `deleted` boolean
    - `deletedOn` string, date-time, nullable
    - `deletedBy` string, nullable
    - `createdOn` string, date-time
    - `modifiedOn` string, date-time
    - `createdBy` string
    - `modifiedBy` string
    - `id` string
    - `address` string — address of the company
    - `city` string — city of the company
    - `state` string — state of the company
    - `zip` string — zip code of the company
    - `country` string, required — country of the company
  - `foreignKey` unknown

---

[API](https://skmtc.net/sourcefuse/apis/tenant-management-service.md) · [All operations](https://skmtc.net/sourcefuse/apis/tenant-management-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sourcefuse/tenant-management-service/versions/0dce7cf133e9/schema)
