Skip to main content
Version: 2021-04-15

Search Opportunity

GET 

/opportunities/search

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Search Opportunity

Request

Version stringrequired

API Version

Available options2021-04-15
q string

Search query (max 75 characters)

location_id stringrequired

Location Id

pipeline_id string

Pipeline Id

pipeline_stage_id string

stage Id

contact_id string

Contact Id

status string

Filter by opportunity status

Available optionsopenwonlostabandonedall
assigned_to string

Filter by assigned user identifier

campaignId string

Campaign Id

id string

Opportunity Id

order string

Sort order for results (e.g. added_asc, added_desc, name_asc, name_desc)

endDate string

End date

startAfter string

Cursor timestamp (epoch ms) for pagination.

startAfterId string

Start After Id

date string

Start date

country string

Filter by country code (ISO 3166-1 alpha-2)

page number

Page number for pagination

Default value:1
limit number

Limit Per Page records count. will allow maximum up to 100 and default will be 20

Default value:20
getTasks boolean

get Tasks in contact

getNotes boolean

get Notes in contact

getCalendarEvents boolean

get Calender event in contact

application/json

Successful response

Schema
    opportunitiesobject[]

    List of opportunities matching the search criteria

    metaobject

    Pagination metadata for the result set

    aggregationsobject

    Aggregation results keyed by aggregation name