List all opportunities

You can fetch a list of all opportunities.

 

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization

 

Example Request & Response


$ curl https://api.custerem.com/<org_id>/opportunities/ \
-X GET \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \

 

200 OK

[
    {
        "id": 13,
        "status": {
            "id": 17,
            "name": "Proposal Sent",
            "value": 17
        },
        "value": "12.00",
        "value_cycle": "M",
        "value_cycle_display": "Monthly",
        "contact": 3,
        "estimated_close": "2022-02-25T06:13:00Z",
        "lead": {
            "id": 8,
            "company_name": "Custerem"
        },
        "notes": "",
        "user": {
            "id": 2,
            "email": "dddd@dd.dd",
            "profile": {
                "name": "dddd@dd.dd"
            }
        },
        "confidence": 28,
        "created_at": "2022-02-24T06:13:31.401641Z",
        "updated_at": "2022-02-24T06:13:31.401670Z"
    }
]