GET /leads: list leads

Newest first, in pages of up to 100. You see only the leads the member behind the key may see.

Newest first, in pages of up to 100. You see only the leads the member behind the key may see.

MethodAddressNeeds
GET/v1/api/leadsleads.view

Query parameters

NameTypeDescription
searchstringName, phone or email (2 or more characters).
stageIduuidOnly leads in this stage.
sourceId, productIduuidOnly leads from this source, or for this course.
owner"me", "unassigned" or uuidWhose leads.
priorityHOT | WARM | COLDOnly this priority.
createdFrom, createdToISO date-timeAdded in this window. Use createdFrom to fetch only new leads.
followUpFrom, followUpToISO date-timeFollow-up due in this window (soonest first).
page, pageSizenumberPage from 1; 1 to 100 per page, default 20.
sortOrderasc | descDefault desc (newest first).
  • Counting stops at 10,000: when meta.totalCapped is true, the total is “10,000 or more”. Narrow with a filter.

Example request

curl "https://api.crm.thevisionsage.com/v1/api/leads?search=Priya&pageSize=20" \
  -H "Authorization: Bearer vsa_YOUR_API_KEY"

Example response

{
  "success": true,
  "data": [
    {
      "id": "01a147f9-6d70-7000-8b7d-808b3dce7f7c",
      "name": "Priya Sharma",
      "email": "priya@example.com",
      "phone": "9876500001",
      "whatsapp": null,
      "alternatePhone": null,
      "city": "Chennai",
      "state": "Tamil Nadu",
      "priority": "WARM",
      "tags": [
        "weekend-batch"
      ],
      "expectedValue": 45000,
      "doNotCall": false,
      "doNotEmail": false,
      "customFields": {},
      "stage": {
        "id": "01a147f9-6d27-7000-a5a9-318c85c28176",
        "name": "New",
        "color": "blue",
        "category": "NEW"
      },
      "source": {
        "id": "01a147f9-6d27-701d-9dac-ff4c718ab99a",
        "name": "Google Ads"
      },
      "product": {
        "id": "01a147f9-6d27-7030-a111-0a5b5f1c0001",
        "name": "Data Science"
      },
      "owner": {
        "id": "01a147f9-6d26-7000-9981-c1af9ae45fc1",
        "name": "Asha Admin",
        "email": "asha@example.com"
      },
      "nextFollowUpAt": null,
      "returnedAt": null,
      "stageChangedAt": "2026-10-17T03:48:11.247Z",
      "closedAt": null,
      "enquiryCount": 1,
      "createdAt": "2026-10-17T03:48:11.247Z",
      "updatedAt": "2026-10-17T03:48:11.248Z"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "limit": 20,
    "totalPages": 1,
    "totalCapped": false
  }
}

Something missing or unclear? Tell us and we will fix this page.