Opportunities
Get opportunities
Retrieve a list of opportunities based on provided filters
Required scopes: flex.community.opportunities.read
get/api/v2/organizations/{orgSlug}/opportunities
Request
- Base URLhttps://app.officernd.com
- URLhttps://app.officernd.com/api/v2/organizations/{orgSlug}/opportunities
- AuthOAuth 2Authorization code: https://identity.officernd.com/auth/authorizeClient credentialsToken URL: https://identity.officernd.com/auth/token scopes: flex.community.opportunities.read
Path parameters
orgSlugstring required
organization slug
Query parameters
_idstring
Example:6ae8841fc1df3a983690798d
Filter by the id of the opportunity
companystring
Example:6ae8841fc1df3a983690798e
Filter by company id.
memberstring
Example:6ae8841fc1df3a983690798f
Filter by member id.
createdAtstring
Example:createdAt[$gte]=YYYY-MM-DDTHH:mm:ssZ
Support date comparison filters: $gt, $gte, $lt, $lte
modifiedAtstring
Example:modifiedAt[$gte]=YYYY-MM-DDTHH:mm:ssZ
Filter by the modified date. Supports date comparison filters: $gt, $gte, $lt, $lte
$selectstring
Select fields to return
$cursorNextstring
$cursorPrevstring
$limitnumber
Response
Example response
{
"results": [
{
"properties": {
"customProperty1": "value1",
"customProperty2": "value2"
},
"_id": "6ae8841fc1df3a9836907990",
"name": "John Doe",
"company": "6ae8841fc1df3a9836907991",
"member": "6ae8841fc1df3a9836907992",
"status": "6ae8841fc1df3a9836907993",
"probability": 10,
"startDate": "2024-02-08T10:00:00.000Z",
"dealSize": 500,
"membersCount": 5,
"createdAt": "2022-02-07T10:03:33.169Z",
"createdBy": "6ae8841fc1df3a9836907998",
"modifiedAt": "2022-02-08T10:03:33.169Z",
"modifiedBy": "6ae8841fc1df3a9836907999"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.