GET /sources: list sources

Where leads come from (ads, website, walk-ins).

Where leads come from (ads, website, walk-ins).

MethodAddressNeeds
GET/v1/api/sourcesleads.view or sources.view

Query parameters

NameTypeDescription
statusactive | archived | allDefault active.
searchstringPart of a name.
page, pageSizenumberPage from 1; 1 to 100 per page.

Example request

curl "https://api.crm.thevisionsage.com/v1/api/sources?search=google" \
  -H "Authorization: Bearer vsa_YOUR_API_KEY"

Example response

{
  "success": true,
  "data": [
    {
      "id": "01a147f9-6d27-701d-9dac-ff4c718ab99a",
      "name": "Google Ads",
      "isActive": true,
      "subSourceCount": 0
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "limit": 20,
    "totalPages": 1
  }
}

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