Get Lead Source List

Get Lead Source List

POST [PlatformAddress]/api/1.0/crm?action=getLeadSourceList

Get a list of lead sources.

{
    "meta": {
        "totalResults": 6,
        "start": 0,
        "perPage": 100,
        "count": 5
    },
     "results": [
        {
            "id": 1,
            "name": "iVvy Marketplace",
            "description": null,
            "cost": 0,
            "isReferral": false,
            "defaultType": null
        },
        {
            "id": 2,
            "name": "Website Widget",
            "description": null,
            "cost": 0,
            "isReferral": false,
            "defaultType": null
        },
        {
            "id": 3,
            "name": "Google",
            "description": "",
            "cost": 1,
            "isReferral": false,
            "defaultType": null
        },
        {
            "id": 4,
            "name": "Third Party Websites",
            "description": null,
            "cost": 0,
            "isReferral": false,
            "defaultType": null
        },
        {
            "id": 189,
            "name": "Referral Program",
            "description": null,
            "cost": 0,
            "isReferral": false,
            "defaultType": 1
        }
    ]
}

The result from this call will be a collection of all the lead stages the user has access to. This call also accepts the pagination and filter properties.

Last updated