Uspacy icon

Uspacy

Взаємодія з Uspacy CRM та робочим простором через REST API

Лід → Список

AI-generated

Summary

Retrieves a paginated list of Uspacy leads filtered by funnel, status, stage, source, dates, or owner, sorted by a specified field.

Inputs

  • Authentication (required) — Authentication method: Bearer Token (API) or Incoming Webhook.
  • Page — Page number for pagination (defaults to 1).
  • Per Page — Number of records per page (max 100, defaults to 20).
  • Воронка (Funnel) — Filter leads by funnel. Values are fetched dynamically from Uspacy.
  • Статус (Status) — Filter leads by kanban status. Supports multiple selections. Values are fetched dynamically from Uspacy.
  • Етап (Stage) — Filter leads by kanban stage. Values are fetched dynamically from Uspacy.
  • Джерело (Source) — Filter leads by source. Values are fetched dynamically from Uspacy.
  • Дата від (Created From) — Filter leads created on or after this date.
  • Дата до (Created To) — Filter leads created on or before this date.
  • Відповідальний (Owner) — Filter leads by responsible owner. Values are fetched dynamically from Uspacy.
  • timezone_offset — Timezone offset in minutes (default 0). Adjusts date filters for server time vs local time (e.g., UTC server → 180).
  • Sort Field — Field to sort by (e.g., created_at, title).
  • Sort Direction — Sort order: asc or desc (defaults to desc).

Output shape

a list of lead items

Each item is a plain object. The operation supports pagination; use 'Page' and 'Per Page' parameters to fetch multiple pages.

Examples

Example 1: Fetch first 50 leads from funnel 'Sales' created in the last 7 days, sorted by creation date descending.

Funnel: 'Sales', Created From: [last 7 days], Per Page: 50, Sort Field: 'created_at', Sort Direction: 'desc'

Example 2: Get leads assigned to a specific owner (e.g., 'John Doe') across all funnels.

Owner: 'John Doe', Funnel: empty (all funnels)

Example 3: Retrieve all leads currently in 'In Progress' status from the default funnel.

Status: 'In Progress', Funnel: default (1), Page: 1

Links

Discussion