WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Crm Sites → List all sites

AI-generated

Summary

Fetches a paginated list of CRM sites from the WorkBuddy API, supporting filtering by name/address tokens and status.

Inputs

  • search — Search by name/address using space-separated words; all words must match as token prefixes.
  • status — Filter by status (e.g., Active, Inactive). Defaults to Active only.
  • cursor — Pagination cursor for retrieving the next page of results.
  • limit — Maximum number of items to return per page.
  • requestOptions — Advanced options including batching, SSL ignore, proxy, and timeout.

Output shape

a list of items, each representing a site record

Returns paginated results; use the Cursor parameter to fetch subsequent pages.

Examples

Example 1: Fetch all active sites

Set Status to 'Active' and leave other parameters at default.

Example 2: Find a specific site by partial name match

Enter search terms (e.g., 'Headquarters') and set Status to 'Active'.

Example 3: Retrieve all sites in batches to avoid rate limiting

Set Request Options > Batching > Items per Batch to 50 and Batch Interval to 1000ms.

Links

Discussion