List Opportunities
Retrieve a paginated list of opportunities.
Supports:
- Pagination (page_size, page)
- Date filtering (updated_after, updated_before)
- Phase entry/exit date filtering (entered_phase_id+entered_after/entered_before, exited_phase_id+exited_after/exited_before)
- Sorting (order_by, default: desc)
- Field search (title, address, primaryName, primaryPhone, primaryEmail)
- Full text search (q)
Note: The /requests path is an alias for /opportunities and will continue to work until users are individually notified and migrated.
Note: If an opportunity has no title (empty or whitespace-only), the response returns the parent account's title instead. The stored value is not modified — this is a read-time fallback only.
Note: entered_phase_id/exited_phase_id identify a phase template (shared across all deals on a workflow), not a specific phase instance. Use the phaseTemplateId from a GET /opportunities/{opportunity_id} response or the GET /workflows response to find the id for a given phase (e.g. "Closed - Won"). When either filter is used, each row also includes a compact phaseTimeline (phaseTemplateId, startedAt, completedAt); use GET /opportunities/{opportunity_id} for the full phaseInstances with names/positions/SLA.
Request
- Base URL: https://api.coperniq.io/v1
- URL: https://api.coperniq.io/v1/opportunities
- Auth: API key in header x-api-key
Query parameters
Number of items per page (max 100)
Page number (1-based)
Filter items updated after this timestamp (ISO 8601). Also matches records whose custom property values changed within the window.
Filter items updated before this timestamp (ISO 8601). Also matches records whose custom property values changed within the window.
Phase template ID to filter by phase-entry date. Required when entered_after or entered_before is provided. Given alone (no date bounds), matches records that ever entered this phase.
Only include records that entered the phase given by entered_phase_id on or after this date/timestamp. Accepts a date (2026-07-01) or a full ISO 8601 timestamp (2026-07-01T00:00:00Z). Requires entered_phase_id.
Only include records that entered the phase given by entered_phase_id before this date/timestamp (exclusive). Accepts a date (2026-08-01) or a full ISO 8601 timestamp (2026-08-01T00:00:00Z). Requires entered_phase_id.
Phase template ID to filter by phase-exit date. Required when exited_after or exited_before is provided. Given alone (no date bounds), matches records that have exited this phase at any point.
Only include records that exited the phase given by exited_phase_id on or after this date/timestamp. Accepts a date (2026-07-01) or a full ISO 8601 timestamp (2026-07-01T00:00:00Z). Requires exited_phase_id.
Only include records that exited the phase given by exited_phase_id before this date/timestamp (exclusive). Accepts a date (2026-08-01) or a full ISO 8601 timestamp (2026-08-01T00:00:00Z). Requires exited_phase_id. On opportunities, combine with exited_phase_id set to a "Closed - Won"-style phase template to find deals that closed within a date range.
Sort order for results
Whether to include virtual properties in the response. Defaults to false unless explicitly set to true.
Whether to include archived (inactive) records in the response. By default only active records are returned.
Whether to include associated contacts in the response. Defaults to false unless explicitly set to true.
Full text search query
Title search query
Address search query
Contact name search query
Contact phone search query
Contact email search query
Response
List of opportunities
Changes
No recorded changes to this operation across all 1 revision of this API.