Actions20
- Get Contact By ID
- Get Contact Phone By Contact ID
- Get Address By ID
- Get Inquiry By ID
- Get Job By ID
- Get Primary Lead Source By ID
- Get Secondary Lead Source By ID
- Get Jobs By Inquiry ID
- Get Contract By Job ID
- List Inquiry Statuses
- List Employees
- List Lead Sources
- List Product Types
- List Jobs
- List Inquiries
- List Custom Fields
- List Entity Set (Advanced)
- Get Service Document
- Submit Lead Capture
- Get Metadata
List Lead Sources
AI-generatedSummary
List lead sources from primary, secondary, or both lead-source tables, optionally filtering only active sources and limiting the result count.
Inputs
- Lead Source Level — Select which lead-source table(s) to list: Primary only, Secondary only, or both. Each returned row includes a 'level' field indicating primary or secondary.
- Active Only — Enable to exclude inactive (hidden or retired) lead source rows from the results.
- Return All — Choose whether to return all matching lead sources or limit the output to a specified number.
- Limit — Maximum number of lead source results to return when 'Return All' is disabled.
Output shape
a list of lead source records
Returns an array of lead source objects, each augmented with a 'level' field indicating 'primary' or 'secondary'. If 'Active Only' is true, only rows with active status are included. When 'Return All' is false, returns at most 'Limit' number of entries. Secondary sources also include a 'primaryName' field linking to their associated primary source name.