company
Get Active Lead Sources for a Company
Use this endpoint to get a list of active lead sources for the current location. This will return the complete lead sources list available for the current location. Inactive lead sources won't be returned. StartIndex starts at 0. Default PageSize is 25. Pagination parameters are optional.
get/company-settings/leads/lead-sources
Query parameters
pageSizeinteger
Controls how many items are returned per page in paginated responses.
- Default: 25 items per page if not specified
- Minimum: 1 item per page
- Use with pageStartIndex for navigating through large result sets
recordStartIndexinteger
The index of the first element to return
Response
OK
Example response
{
"count": 10,
"pageSize": 2,
"pageStartIndex": 0,
"items": [
{
"id": "be6f252d-5aa6-49e3-a2e2-470a67f88711",
"name": "Lead source 1",
"children": [
{
"id": "ba6f252d-5aa6-49e9-a2e2-470a67f88712",
"name": "Lead child 1.1",
"_link": "https://api.acculynx.com/api/v2/company-settings/leads/lead-sources/be6f252d-5aa6-49e3-a2e2-470a67f88711/children/ba6f252d-5aa6-49e9-a2e2-470a67f88712"
}
],
"_link": "https://api.acculynx.com/api/v2/company-settings/leads/lead-sources/be6f252d-5aa6-49e3-a2e2-470a67f88711"
},
{
"id": "f29b31a2-607e-4550-ab0b-8ff48f532253",
"name": "Lead source 2",
"_link": "https://api.acculynx.com/api/v2/company-settings/leads/lead-sources/f29b31a2-607e-4550-ab0b-8ff48f532253"
}
]
}