Skip to content

HighLevel: Opportunities schemas

26 HighLevel schemas with complete fields and constraints.

← Opportunities operations · All schemas

Add Followers — opportunities add Followers Opportunity — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
followersarrayRequired within parentArray of user IDs to add or remove as followers (max 10)
followers[]stringEach item

Add Followers — opportunities add Followers Opportunity — response body

FieldTypePresenceDescription and constraints
$objectRoot
followersarrayOptionalCurrent list of all follower user IDs after the operation
followers[]stringEach item
followersAddedarrayOptionalUser IDs that were successfully added as followers
followersAdded[]stringEach item

Create Opportunity — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
assignedTostringOptionalIdentifier of the user the opportunity is assigned to
contactIdstringRequired within parentIdentifier of the contact linked to the opportunity
customFieldsarrayOptionalAdd custom fields to opportunities.
customFields[]JSONEach item
customFields[] (anyOf 1)ModelAlternativeExpand Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input String Schema V3
customFields[] (anyOf 2)ModelAlternativeExpand Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Array Schema V3
customFields[] (anyOf 3)ModelAlternativeExpand Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Object Schema V3
forecastExpectedCloseDatestringOptionalExpected close date. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, or ISO 8601
forecastProbabilitynumberOptionalForecast probability
locationIdstringRequired within parentIdentifier of the location (sub-account)
monetaryValuenumberOptionalMonetary value of the opportunity
namestringRequired within parentName of the opportunity
pipelineIdstringRequired within parentpipeline Id
pipelineStageIdstringOptionalIdentifier of the pipeline stage
statusstringRequired within parentCurrent status of the opportunity
One of: open, won, lost, abandoned, all

Referenced models: Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Array Schema V3, Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Object Schema V3, Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input String Schema V3

Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Array Schema V3

FieldTypePresenceDescription and constraints
$objectRoot
fieldValuearrayOptionalValue of the custom field
fieldValue[]stringEach item
idstringRequired within parentPass either `id` or `key` of custom field
keystringOptionalPass either `id` or `key` of custom field

Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Object Schema V3

FieldTypePresenceDescription and constraints
$objectRoot
fieldValueobjectOptionalValue of the custom field
idstringRequired within parentPass either `id` or `key` of custom field
keystringOptionalPass either `id` or `key` of custom field

Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input String Schema V3

FieldTypePresenceDescription and constraints
$objectRoot
fieldValuestringOptionalValue of the custom field
idstringOptionalPass either `id` or `key` of custom field
keystringOptionalPass either `id` or `key` of custom field

Delete Opportunity — response body

FieldTypePresenceDescription and constraints
$objectRoot
succededbooleanOptionalIndicates whether the operation was successful. Deprecated — use `success` instead.
successbooleanOptionalIndicates whether the operation was successful

Get Opportunity — response body

FieldTypePresenceDescription and constraints
$objectRoot
opportunityJSONOptionalThe created or retrieved opportunity object
opportunity (allOf 1)ModelAll variants applyExpand Search Opportunity — response body — opportunities item

Referenced models: Search Opportunity — response body — opportunities item

Get Pipelines — response body

FieldTypePresenceDescription and constraints
$objectRoot
pipelinesarrayOptionalList of pipelines for the location
pipelines[]ModelEach itemExpand Get Pipelines — response body — pipelines item

Referenced models: Get Pipelines — response body — pipelines item

Get Pipelines — response body — pipelines item

FieldTypePresenceDescription and constraints
$objectRoot
colorRenderModestringOptionalHow pipeline/stage colors are rendered
Known values: dot, bg-tint, none
idstringOptionalUnique identifier of the pipeline
locationIdstringOptionalIdentifier of the location (sub-account) this pipeline belongs to
namestringOptionalName of the pipeline
showInFunnelbooleanOptionalWhether the pipeline is shown in the funnel view
showInPieChartbooleanOptionalWhether the pipeline is shown in the pie chart view
stagesarrayOptionalStages belonging to this pipeline
stages[]arrayEach item
useOpportunityProbabilitybooleanOptionalWhether stage-level win probability is enabled for this pipeline

Get lost reason — response body

FieldTypePresenceDescription and constraints
$objectRoot
lostReasonsarrayOptionalList of lost reasons for the location
lostReasons[]ModelEach itemExpand Get lost reason — response body — lost Reasons item
totalJSONOptional
total (anyOf 1)numberAlternativeTotal number of lost reasons matching the query
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get lost reason — response body — lost Reasons item

Get lost reason — response body — lost Reasons item

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringOptionalcreated at
Format: date-time
idstringOptionallost reason id
locationIdstringOptionallocation id
namestringOptionallost reason name
updatedAtstringOptionalupdated at
Format: date-time

Remove Followers — opportunities remove Followers Opportunity — response body

FieldTypePresenceDescription and constraints
$objectRoot
followersarrayOptionalCurrent list of all follower user IDs after the operation
followers[]stringEach item
followersRemovedarrayOptionalUser IDs that were successfully removed as followers
followersRemoved[]stringEach item

Search Opportunities — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
additionalDetailsJSONRequired within parentFlags to include additional related entities in the response
additionalDetails (allOf 1)ModelAll variants applyExpand Search Opportunities — request body — body additional Details calendar Events, notes, tasks, un Read Conversations
limitnumberRequired within parentMaximum number of results to return per page
locationIdstringRequired within parentLocation Id
pagenumberRequired within parentPage number (0-indexed)
querystringRequired within parentFull-text search query string (max 75 characters)
searchAfterarrayRequired within parentSearch-after cursor values for deep pagination
searchAfter[]stringEach item

Referenced models: Search Opportunities — request body — body additional Details calendar Events, notes, tasks, un Read Conversations

Search Opportunities — request body — body additional Details calendar Events, notes, tasks, un Read Conversations

FieldTypePresenceDescription and constraints
$objectRoot
calendarEventsbooleanRequired within parentInclude calendar events in the response
notesbooleanRequired within parentInclude notes in the response
tasksbooleanRequired within parentInclude tasks in the response
unReadConversationsbooleanRequired within parentInclude unread conversations count in the response

Search Opportunities — response body

FieldTypePresenceDescription and constraints
$objectRoot
aggregationsobjectOptionalAggregation results keyed by aggregation name
opportunitiesarrayOptionalList of opportunities matching the search criteria
opportunities[]ModelEach itemExpand Search Opportunity — response body — opportunities item
stageAggregationsarrayOptionalPer-stage totals when pipeline filter is present
stageAggregations[]ModelEach itemExpand Search Opportunities — response body — stage Aggregations item
totalJSONRequired within parent
total (anyOf 1)numberAlternativeTotal number of opportunities matching the query
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Search Opportunity — response body — opportunities item, Search Opportunities — response body — stage Aggregations item

Search Opportunities — response body — stage Aggregations item

FieldTypePresenceDescription and constraints
$objectRoot
openValueJSONRequired within parent
openValue (anyOf 1)numberAlternativeTotal value of open opportunities in this stage
openValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
openWeightedValueJSONRequired within parent
openWeightedValue (anyOf 1)numberAlternativeProbability-weighted value of open opportunities in this stage
openWeightedValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pipelineStageIdstringRequired within parentIdentifier of the pipeline stage being aggregated
totalCountJSONRequired within parent
totalCount (anyOf 1)numberAlternativeTotal number of opportunities in this stage
totalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalValueJSONRequired within parent
totalValue (anyOf 1)numberAlternativeTotal monetary value of all opportunities in this stage
totalValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
weightedValueJSONRequired within parent
weightedValue (anyOf 1)numberAlternativeProbability-weighted total value of opportunities in this stage
weightedValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
wonValueJSONRequired within parent
wonValue (anyOf 1)numberAlternativeTotal value of won opportunities in this stage
wonValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Search Opportunity — response body

FieldTypePresenceDescription and constraints
$objectRoot
aggregationsobjectOptionalAggregation results keyed by aggregation name
metaJSONOptionalPagination metadata for the result set
meta (allOf 1)ModelAll variants applyExpand Search Opportunity — response body — meta current Page, next Page, next Page Url, prev Page, start After, start After Id, total
opportunitiesarrayOptionalList of opportunities matching the search criteria
opportunities[]ModelEach itemExpand Search Opportunity — response body — opportunities item

Referenced models: Search Opportunity — response body — meta current Page, next Page, next Page Url, prev Page, start After, start After Id, total, Search Opportunity — response body — opportunities item

Search Opportunity — response body — meta current Page, next Page, next Page Url, prev Page, start After, start After Id, total

FieldTypePresenceDescription and constraints
$objectRoot
currentPageJSONOptional
currentPage (anyOf 1)numberAlternativeCurrent page number
currentPage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
nextPageJSONOptional
nextPage (anyOf 1)numberAlternativeNext page number
nextPage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
nextPageUrlstringOptionalURL to retrieve the next page of results
prevPageJSONOptional
prevPage (anyOf 1)numberAlternativePrevious page number
prevPage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAfterJSONOptional
startAfter (anyOf 1)numberAlternativeCursor timestamp to use for pagination (startAfter param)
startAfter (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAfterIdstringOptionalCursor id to use for pagination (startAfterId param)
totalJSONOptional
total (anyOf 1)numberAlternativeTotal number of opportunities matching the query
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Search Opportunity — response body — opportunities item

FieldTypePresenceDescription and constraints
$objectRoot
assignedTostringOptionalIdentifier of the user the opportunity is assigned to
calendarEventsarrayOptionalCalendar events attached to the opportunity
calendarEvents[]arrayEach item
contactJSONOptionalContact details associated with the opportunity
contact (allOf 1)ModelAll variants applyExpand Search Opportunity — response body — opportunities item contact company Name, email, id, name, phone, tags
contactIdstringOptionalIdentifier of the contact linked to the opportunity
createdAtstringOptionalISO 8601 timestamp when the opportunity was created
customFieldsarrayOptionalCustom fields associated with the opportunity
customFields[]ModelEach itemExpand Search Opportunity — response body — opportunities item custom Fields item
effectiveProbabilityJSONOptional
effectiveProbability (anyOf 1)numberAlternativeEffective win probability after stage and forecast adjustments (0–100)
effectiveProbability (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
externalObjectIdstringOptionalExternal object identifier for integrations
followersarrayOptionalUser IDs following this opportunity
followers[]arrayEach item
forecastDaysSlippedJSONOptional
forecastDaysSlipped (anyOf 1)numberAlternativeTotal days the close date has slipped
forecastDaysSlipped (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
forecastExpectedCloseDatestringOptionalExpected close date for the forecast (YYYY-MM-DD)
forecastLastSlippedAtstringOptionalISO 8601 timestamp of the last close-date slip
forecastOriginalCloseDatestringOptionalOriginal forecast close date before any slippage (YYYY-MM-DD)
forecastProbabilityJSONOptional
forecastProbability (anyOf 1)numberAlternativeForecast win probability percentage (0–100)
forecastProbability (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
forecastSlippageCountJSONOptional
forecastSlippageCount (anyOf 1)numberAlternativeNumber of times the close date has slipped
forecastSlippageCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringOptionalUnique identifier of the opportunity
indexVersionstringOptionalIndex version of the opportunity record
lastActionDatestringOptionalISO 8601 timestamp of the last action on the opportunity
lastStageChangeAtstringOptionalISO 8601 timestamp of the last stage change
lastStatusChangeAtstringOptionalISO 8601 timestamp of the last status change
locationIdstringOptionalIdentifier of the location (sub-account) the opportunity belongs to
lostReasonIdstringOptionalIdentifier of the lost reason if the opportunity was marked lost
monetaryValueJSONOptional
monetaryValue (anyOf 1)numberAlternativeMonetary value of the opportunity
monetaryValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringOptionalName of the opportunity
notesarrayOptionalNotes attached to the opportunity
notes[]arrayEach item
pipelineIdstringOptionalIdentifier of the pipeline the opportunity belongs to
pipelineStageIdstringOptionalIdentifier of the pipeline stage the opportunity is in
sourcestringOptionalSource of the opportunity
statusstringOptionalCurrent status of the opportunity
tasksarrayOptionalTasks attached to the opportunity
tasks[]arrayEach item
updatedAtstringOptionalISO 8601 timestamp when the opportunity was last updated

Referenced models: Search Opportunity — response body — opportunities item custom Fields item, Search Opportunity — response body — opportunities item contact company Name, email, id, name, phone, tags

Search Opportunity — response body — opportunities item contact company Name, email, id, name, phone, tags

FieldTypePresenceDescription and constraints
$objectRoot
companyNamestringOptionalCompany name associated with the contact
emailstringOptionalEmail address of the contact
idstringOptionalUnique identifier of the contact
namestringOptionalFull name of the contact
phonestringOptionalPhone number of the contact
tagsarrayOptionalTags associated with the contact
tags[]stringEach item

Search Opportunity — response body — opportunities item custom Fields item

FieldTypePresenceDescription and constraints
$objectRoot
fieldValueJSONRequired within parentThe value of the custom field
fieldValue (anyOf 1)stringAlternative
fieldValue (anyOf 2)objectAlternative
fieldValue (anyOf 3)arrayAlternative
fieldValue (anyOf 3)[]stringEach item
fieldValue (anyOf 4)arrayAlternative
fieldValue (anyOf 4)[]objectEach item
idstringRequired within parentUnique identifier of the custom field

Update Opportunity Status — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
lostReasonIdstringOptionallost reason Id
statusstringRequired within parentNew status for the opportunity
One of: open, won, lost, abandoned, all

Update Opportunity — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
assignedTostringOptionalIdentifier of the user the opportunity is assigned to
customFieldsarrayOptionalUpdate custom fields to opportunities.
customFields[]JSONEach item
customFields[] (anyOf 1)ModelAlternativeExpand Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input String Schema V3
customFields[] (anyOf 2)ModelAlternativeExpand Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Array Schema V3
customFields[] (anyOf 3)ModelAlternativeExpand Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Object Schema V3
forecastExpectedCloseDatestringOptionalExpected close date. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, or ISO 8601
forecastProbabilitynumberOptionalForecast probability
monetaryValuenumberOptionalMonetary value of the opportunity
namestringOptionalName of the opportunity
pipelineIdstringOptionalpipeline Id
pipelineStageIdstringOptionalIdentifier of the pipeline stage
statusstringOptionalCurrent status of the opportunity
One of: open, won, lost, abandoned, all

Referenced models: Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Array Schema V3, Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input Object Schema V3, Create Opportunity — request body — body custom Fields item field Value, id, key — custom Fields Input String Schema V3

Upsert Opportunity — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
assignedTostringOptionalIdentifier of the user the opportunity is assigned to
followersarrayRequired within parentcontactId
followers[]stringEach item
followersActionTypestringRequired within parentfollowers action type
One of: add, remove
forecastExpectedCloseDatestringOptionalExpected close date. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, or ISO 8601
forecastProbabilitynumberOptionalForecast probability
idstringOptionalopportunityId
isRemoveAllFollowersbooleanRequired within parentisRemoveAllFollowers
locationIdstringRequired within parentlocationId
lostReasonIdstringOptionallost reason Id
monetaryValueobjectOptionalMonetary value of the opportunity
namestringOptionalname
pipelineIdstringRequired within parentpipeline Id
pipelineStageIdstringOptionalIdentifier of the pipeline stage
statusstringOptionalCurrent status of the opportunity
One of: open, won, lost, abandoned, all

Upsert Opportunity — response body

FieldTypePresenceDescription and constraints
$objectRoot
newbooleanRequired within parentIndicates whether the opportunity was newly created (true) or updated (false)
opportunityobjectRequired within parentUpdated / New Opportunity

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.