Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Lead
  • Back to home
  • CRM
  • Lead
    • Get Borrower Line Details
      GET
    • Fetch service accounts
      GET
    • Send to a service
      POST
    • Create Lead
      POST
    • Lead List
      GET
    • Get Lead
      GET
    • Delete Lead
      DELETE
    • download_excel
      PUT
  • Applicant
    • Create Applicant
      POST
    • Get Applicant
      GET
    • Update Applicant
      PATCH
    • Delete Applicant
      DELETE
    • Mark as Primary
      PUT
  • Bank
    • Add Bank
      POST
    • Get Bank
      GET
    • Update Bank
      PATCH
    • Delete Bank
      DELETE
    • Verify Bank
      GET
    • Get Banks by Applicant Id
      GET
    • Get IFSC Details
      GET
  • Document
    • Add Document
      POST
    • Get Document
      GET
    • Delete Document
      DELETE
    • Update Document
      PATCH
    • Get Documents by Related Model Id
      GET
  • Address
    • Add Address
    • Get Address
    • Update Address
    • Delete Address
    • Get Address by Applicant Id
    • Get City & State by Pincode
  • Get Borrower Token
    POST
  • Health Check
    GET
  1. Lead

Get Lead

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/v1/crm/leads/{id}/
Last modified:2024-11-20 11:38:01

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://preprod.api.crego.io/v1/crm/leads/6d101383-d69d-434b-a447-efad29af007e/?expand=addresses,banks,documents' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Get Lead
application/json
Body

Example
{
    "_id": "91d22513-1bb3-4036-b820-84a5790c798a",
    "other_refs": [],
    "routing_response_type": null,
    "routing_response_value": null,
    "routing_response_error": null,
    "created_by": "9cca8c02-ac64-4d1d-94a6-9b738867b493",
    "status": "active",
    "tags": [],
    "is_deleted": false,
    "freezed": false,
    "is_editable": true,
    "consent_data": {
        "ip_address": "10.30.10.245",
        "user_agent": "PostmanRuntime/7.39.0",
        "host": "dev.api.crego.tech",
        "referrer": null
    },
    "data_source": null,
    "created_at": 1718187839.488,
    "updated_at": 1718187839.938,
    "ref_id": "CL4KJZ3",
    "programs": [
        {
            "_id": "f5978374-a65f-4bd6-868e-e29ce187344f",
            "lead_id": "91d22513-1bb3-4036-b820-84a5790c798a",
            "ref_id": "CL4KJZ3A",
            "program_id": "6788f287-c670-46b9-8ec9-48cc351ab2bc",
            "product_type": "scf",
            "status": "pending_disbursement",
            "tags": [],
            "is_primary": true,
            "is_deleted": false,
            "created_at": 1718187839.728,
            "updated_at": 1718187839.728
        }
    ],
    "applicants": [
        {
            "_id": "3b8aabb6-462a-4dac-863e-983065b0c0f1",
            "lead_id": "91d22513-1bb3-4036-b820-84a5790c798a",
            "applicant_type": "business",
            "is_primary": true,
            "is_authorized_signatory": false,
            "business_type": "Proprietorship",
            "tags": [],
            "name": "Business Name",
            "pan_no": "JUVPK1179B",
            "primary_mobile": "8439598391",
            "is_deleted": false,
            "created_at": 1718187839.938,
            "updated_at": 1718605992.677
        },
        {
            "_id": "25f58925-6502-4ee0-b303-17eedf3da3f1",
            "lead_id": "91d22513-1bb3-4036-b820-84a5790c798a",
            "applicant_type": "person",
            "is_primary": false,
            "is_authorized_signatory": true,
            "tags": [],
            "name": "Dharmendra",
            "primary_email": "222@gmail.com",
            "is_deleted": false,
            "created_at": 1718187839.956,
            "updated_at": 1718605992.863
        }
    ]
}
Modified at 2024-11-20 11:38:01
Previous
Lead List
Next
Delete Lead
Built with