Skip to navigation

List opportunities

Returns a paginated collection of opportunities.

Arguments

archivedArchivedEnumOptional

The archived state of the records to return. The default is EXCLUDE.

Allowed values:
contactIdslist of StringsOptional
The IDs of the contacts linked to the records to return.
createdByUserIdslist of StringsOptional
The IDs of the users who created the records to return.
createdOnMaxStringOptional
The latest creation date to return.
createdOnMinStringOptional
The earliest creation date to return.
departmentIdslist of StringsOptional
The IDs of the departments linked to the records to return.
disclosureIdslist of StringsOptional
The IDs of the disclosures linked to the records to return.
displayEnumslist of OpportunityDisplayEnumsOptional
The display settings of the opportunities to return.
Allowed values:
limitIntegerOptional
The number of records returned. The default is 50, and the maximum is 200.
opportunityNumberStringOptional

The opportunity number to return. Matching is case-insensitive.

organizationIdslist of StringsOptional
The IDs of the organizations linked to the records to return.
pageIntegerOptional
The page number to return. Starts at 1.
qStringOptional
The text to search for. Matches opportunity number, title, and page title.
shareEnumslist of OpportunityShareEnumsOptional
The sharing settings of the opportunities to return.
Allowed values:
sortDirectionSortDirectionEnumOptional

The sort direction. The default is DESC.

Allowed values:
sortFieldOpportunitySortFieldEnumOptional

The field to sort by. The default is updated_at.

Allowed values:
stateEnumslist of OpportunityStateEnumsOptional
The states of the records to return.
Allowed values:
trlEnumslist of TrlEnumsOptional
The technology readiness levels of the records to return.
updatedByUserIdslist of StringsOptional
The IDs of the users who last updated the records to return.
updatedOnMaxStringOptional

The latest last-updated date to return.

updatedOnMinStringOptional

The earliest last-updated date to return.

Returns

an OpportunityCollection
collectionlist of Opportunities
A collection of paginated OpportunityCollection
Pagination Metadata for navigating the Pagination