MarketSharp icon

MarketSharp

Read MarketSharp entities (by ID or as lists), or submit a lead via Lead Capture

List Lead Sources

AI-generated

Summary

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.

Links

Discussion