WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Sales Leads → List leads

AI-generated

Summary

Retrieve a paginated list of sales leads, optionally filtering by lead stage and search term across lead name, prospect account name, or account email.

Inputs

  • Stage — Filter leads by their stage: New, In Progress, Qualified, or Disqualified.
  • Search — Search term to filter leads by name, prospect account name, or account email.
  • Cursor — Cursor string for pagination to retrieve the next page of results.
  • Limit — Number of leads to return per request, from 1 to 200, defaulting to 50.

Output shape

a list of sales lead records, representing a page of results according to the specified filters and pagination cursor

Supports cursor-based pagination via the 'Cursor' input; the output includes the leads matching the filters. The page size can be controlled with 'Limit'. Optional filters are Stage and Search.

Examples

Example 1: List first 50 leads in 'New' stage

Set Stage to 'New' and Limit to 50.

Example 2: Search leads by email containing 'example.com'

Set Search to 'example.com'.

Links

Discussion