Get Account Opportunities Insights
get_account_opportunities_insightsGet opportunities for domain(s) with status filtering and pagination.
STATUS VALUES: NO_OPPS, OPEN, CLOSED_WON, CLOSED_LOST
SORT OPTIONS: lastTouchDate (default), status, name, amount
RETURNS: one entry per requested domain, in request order, each carrying its domain. Read each account's opportunities from the entry carrying ITS domain only. A domain the platform could not answer comes back as {domain, error, data: []} in its own slot.
PAGINATION: page and size apply per domain. Use small page sizes (25-50) with sequential calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 0-based page number. | |
| size | No | Items per page (default 25, max 10000). Raise it to pull the full set in one call. | |
| sort | No | Sort field. Default: lastTouchDate | lastTouchDate |
| status | No | Filter by status. Omit for all. | |
| domains | Yes | Domain strings. E.g., ['metadata.io'] | |
| endDate | No | ISO 8601 format. | |
| startDate | No | ISO 8601 format. E.g., '2025-01-01T00:00:00.000Z' |