Skip to main content

Opportunity List

Get a list of opportunities

HTTP Request

[GET] /api/v6/opportunities

Query Parameters

Fields

FieldsTypeDescription
idintegerIdentifier
opportunity_namestringOpportunity name
probabilitynumericOpportunity probability
opportunity_statusintegerOpportunity status
opportunity_status_namestringOpportunity status name
recipientintegerOpportunity manager
rcpt_avatarstringOpportunity manager photo
rcpt_display_namestringOpportunity manager name
rcpt_role_namestringOpportunity manager level
rcpt_department_namestringOpportunity manager department
created_attimestampCreation date
time_registedstringOpportunity registration time
responsibletimestampCampaign manager
c_display_namestringCreator name
create_userintegerCreator identifier
account_idfloatCustomer identifier
account_namefloatCustomer name
phone_officestringCustomer phone number
account_emailfloatCustomer email
campaign_idfloatCampaign identifier
campaign_namefloatCampaign name

Filtering

FieldsSupportTypeDescription
ideq,inintegerIdentifier
campaign_ideq,inintegerCampaign identifier
opportunity_statuseq,instringOpportunity status
opportunity_status_nameeq,containsstringOpportunity status name

Sort

Sort (field)Direction
idasc,desc

Limit & Offset

TypeDescription
LimitintegerNumber of records to retrieve
OffsetintegerNumber of records to skip

Example

HTTP Request

GET api/v6/opportunities?fields=opportunity_name&filtering[id]=4&limit=1 HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json

Status

200 OK

Response

{
"data": [
{
"id": 4,
"opportunity_name": "TEST OPPORTUNITY API"
}
],
"has_more": false,
"offset": 0,
"limited": 1
}