WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Crm Sites → List contacts for site

AI-generated

Summary

Retrieves a paginated list of contacts associated with a specific CRM site.

Inputs

  • id (required) — The Site ID to retrieve contacts for.
  • cursor — A pagination cursor to fetch the next page of results.
  • limit — The maximum number of contacts to return in a single request.
  • requestOptions — Configuration for batching, SSL verification, proxy, and timeouts.

Output shape

A list of items, each representing a contact.

Supports pagination via cursor and limit parameters. Items are fetched in batches if batchSize is configured.

Examples

Example 1: Retrieve the first 100 contacts for a specific site.

Set 'id' to the target site ID and 'limit' to 100.

Example 2: Retrieve the next page of results using a cursor.

Set 'cursor' to the value returned from the previous request.

Example 3: Throttle requests to avoid rate limits.

Configure 'requestOptions' batching with a 'batchSize' of 50 and 'batchInterval' of 1000ms.

Links

Discussion