---
title: "Assign Lead"
method: GET
path: "/leads"
---

# Assign Lead

`GET /leads`

Lets you change the owner of an existing lead.

## Query parameters

- `userId` string
- `status` string
- `substatus` string
- `owner` string
- `limit` string
- `offset` string
- `entityType` string
- `entityCode` string

## Response `200`

200

- object
  - `data` object[]
    - `id` integer
    - `userId` integer
    - `type` string
    - `leadFor` string
    - `status` string
    - `nextFollowUp` string
    - `createdOn` string
    - `createdBy` integer
    - `lastUpdatedOn` string
    - `lastUpdatedBy` integer
    - `followUpDetails` object[]
      - `id` integer
      - `userId` integer
      - `leadId` integer
      - `notes` string
      - `createdBy` integer
      - `createdOn` string
      - `followedUpBy` integer
      - `followedUpOn` string
      - `scheduledFollowUp` string
    - `statusLogDetails` object[]
      - `id` integer
      - `userId` integer
      - `leadId` integer
      - `status` string
      - `createdBy` integer
      - `createdOn` string
      - `reasonId` integer
      - `reason` string
    - `orgSourceId` integer
    - `extendedFields` object
      - `trial_status` string
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
