Retrieve an opportunity
Fetch a single opportunity by ID.
Returns 404 if the opportunity doesn’t exist, and 403 if it exists but you don’t have access to its lead.
Use _fields to return only the fields you need, or _fields=_all to also include optional fields such as is_stalled and suggested_action. Custom field values appear as custom.{custom_field_id} keys.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
Comma-separated list of fields to include in the response.
Response
expected_value as a yearly amount, in cents: multiplied by 12 when value_period is monthly, unchanged otherwise.
value as a yearly amount, in cents: multiplied by 12 when value_period is monthly, unchanged otherwise.
Likelihood of winning the opportunity, as a percentage from 0 to 100. Always 100 when status_type is won and 0 when it is lost.
ID of the contact that the opportunity is associated with, e.g. cont_q4xYmlGhA3060dEl0NDJuHRxPMuVjqLn30AFSzh1fRk
ID of the user who created the opportunity, e.g. user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
When the opportunity was lost, as an ISO 8601 timestamp in UTC. Set automatically when the opportunity moves to a lost status.
Date the opportunity was won, or is expected to close if it’s still active, as an ISO 8601 date, e.g. 2013-02-20. Set to today’s date when the opportunity moves to a won status without one.
value multiplied by confidence, in cents, rounded down. For example, a value of 300000 with 75% confidence has an expected value of 225000.
The opportunity’s ID, e.g. oppo_8eB77gAdf8FMy6GsNHEy84f7uoeEWv55slvUjKQZpJt
ID of the lead the opportunity belongs to, e.g. lead_IIDHIStmFcFQZZP0BRe99V1MCoXWz2PGCm6EDmR9v2O. Every opportunity belongs to exactly one lead.
The opportunity’s note as plain text, with note_html formatting converted to markdown
The opportunity’s note as rich text, a restricted subset of XHTML wrapped in a <body> tag, e.g. <body><p>Ready to sign next week.</p></body>
The owning organization’s ID, e.g. orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
ID of the opportunity’s status, e.g. stat_4ZdiZqcSIkoGVnNOyxiEY58eTGQmFNG3LPlEVQ4V7Nk. The status determines the opportunity’s pipeline.
ID of the user who last updated the opportunity, e.g. user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
ID of the user who owns the opportunity, e.g. user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
Monetary value of the opportunity in cents, e.g. 340000 for $3,400.00, in the organization’s currency (see value_currency). See value_formatted for a human-readable version.
How often value is paid: one_time, monthly or annual
Whether Close has flagged the opportunity as stalled, and the flag hasn’t been dismissed. Only returned when requested in _fields.
Display name of the opportunity’s lead. See the lead’s display_name.
First email address of the lead’s first contact that has one. Only returned when requested in _fields.
First phone number of the lead’s first contact that has one, as a single-item list. Only returned when requested in _fields.
ID of the pipeline that the opportunity’s status belongs to, e.g. pipe_04fC628PVB0HjK2Qq5EqEf
Name of the pipeline that the opportunity’s status belongs to, e.g. Sales
Deprecated: use suggested_action instead. Why the opportunity is stalled and a suggested next step. Only returned when requested in _fields.
Label of the opportunity’s status, prefixed with its pipeline’s name when the organization has more than one pipeline, e.g. Sales: Active
Label of the opportunity’s status, e.g. Active
Type of the opportunity’s status: active, won or lost
Suggested next step for the stalled opportunity. Only returned when requested in _fields.
ISO 4217 code of the organization’s currency, which value is in, e.g. USD
value formatted in the organization’s currency, followed by value_period unless it’s one_time, e.g. $500 or $50 monthly. Empty if value is null or 0.