Opportunities
Get opportunity by ID
Retrieve a specific opportunity by their ID. This endpoint is eligible to return computed custom field values.
get/opportunities/{id}
Request
- Base URLhttps://api.copper.com/developer_api/v1
- AuthHTTP bearer
Path parameters
idinteger required
Opportunity ID
Query parameters
custom_field_computed_valuesboolean
When true, returns computed custom field values (human-readable labels) in addition to option IDs for Dropdown and Multi-select fields. The response will include a 'computed_value' field alongside the 'value' field in custom_fields array.
Response
Opportunity retrieved successfully
Example response
{
"id": 2827698,
"name": "8 New Copy Machines (sample)",
"close_date": 1484899200,
"company_id": 9607580,
"company_name": "Dunder Mifflin (sample)",
"customer_source_id": 331241,
"details": "Opportunities are created for People and Companies that are interested in buying your products or services.",
"monetary_value": 250000,
"pipeline_id": 213214,
"pipeline_stage_id": 987790,
"pipeline_type": "opportunity",
"priority": "None",
"status": "Open",
"tags": [],
"win_probability": 5,
"date_created": 1483988829,
"date_modified": 1489018922,
"custom_fields": [
{
"custom_field_definition_id": 100764
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.