REST API endpoint for knock history and lead statuses
Retrieve the full knock history — every status-change event recorded by your team — alongside your company’s configured lead status list.
Every time a rep updates a prospect’s status in the field, LeadScout records a “knock” — a status-change event that captures which rep made the change, which status they set, and when. The knocks endpoint returns this complete event log alongside your company’s configured lead statuses so you can build activity reports, performance dashboards, and funnel analytics without additional lookups.
Sales reps without the canViewAllProspects permission see only knocks for prospects assigned to them. Admins and owners see all knocks across the company.
To count total knocks per rep, group the knocks array by addedByUserId. To build a status funnel, group by leadStatusId and join against the statuses array using the matching id.