GET /pipelines to discover valid stage_id values before creating opportunities.
Opportunity object
| Field | Type | Description |
|---|---|---|
id | integer | Unique opportunity ID. |
stage_id | integer | Pipeline stage ID. |
lead_id | integer | Linked lead ID. |
value | number | Monetary value. |
confidence | integer | Win probability 0–100. |
expected_close_date | string | ISO 8601 expected close date. |
note | string | null | Optional note. |
created_at | string | ISO 8601 creation timestamp. |
Endpoints
List opportunities
GET /opportunitiesGet opportunity
GET /opportunities/{id}Create opportunity
POST /opportunitiesUpdate opportunity
PUT /opportunities/{id}Delete opportunity
DELETE /opportunities/{id}