Lead source report by agent
fub_lead_source_reportCount leads from lead sources (e.g. Zillow) per assigned agent, how many reached the closed stage(s) (conversion rate), and leads per lender user (e.g. Zillow Home Loans loan officers). Use it to count instead of paging through fub_search_people. The numbers approximate FUB's in-app Lead Source report, which has no API, and cover only the people the API key can see (use an owner, admin or broker key for the whole account). At most 100 FUB requests per call (one per count). FUB: GET /v1/people totals, GET /v1/users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | Lead source names exactly as FUB stores them, e.g. ["Zillow", "Zillow Flex"]. The source field of fub_search_people results shows them. | |
| userIds | No | Only these agents. Default: every user that is not a Lender and not Inactive. | |
| closedStages | No | Stage names that count as converted, default ["Closed"] (see fub_list_stages). | |
| createdAfter | No | Only leads created after this time, ISO-8601 UTC, e.g. 2026-07-01T00:00:00Z. | |
| includeLenders | No | Also count leads per Lender user. Default true. |