Create Pipeline
POST/opportunities/pipelines
Creates a new pipeline with at least one stage for a given location. Pipeline names must be unique per location (case-insensitive), and stage names must be unique within the pipeline. To enable manual win probability, set useOpportunityProbability to true and provide a stageWinProbability (0–100) on every stage — if any stage is missing a value, the system falls back to auto-computed probabilities based on stage position.
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
Name of the pipeline
List of stages belonging to this pipeline
Whether the pipeline is shown in the funnel view
Whether the pipeline is shown in the pie chart view
Whether stage-level win probability is enabled for this pipeline
Identifier of the location (sub-account) this pipeline belongs to
How pipeline/stage colors are rendered
dotbg-tintnone{
"name": "pipeline",
"stages": [
{
"name": "stage 1",
"position": 1,
"showInFunnel": true
}
],
"showInFunnel": false,
"showInPieChart": true,
"useOpportunityProbability": true,
"locationId": "ve9EPM428h8vShlRW1KT",
"colorRenderMode": "dot"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Unique identifier of the pipeline
Name of the pipeline
Stages belonging to this pipeline
Whether the pipeline is shown in the funnel view
Whether the pipeline is shown in the pie chart view
Identifier of the location (sub-account) this pipeline belongs to
Whether stage-level win probability is enabled for this pipeline
How pipeline/stage colors are rendered
dotbg-tintnoneFractional-index key used to sort pipelines. Updated when the user reorders pipelines (via drag-and-drop or the reorder modal).
{
"id": "aWdODOBVOlH1RUFKWQke",
"name": "new pipeline",
"stages": [],
"showInFunnel": false,
"showInPieChart": true,
"locationId": "VeMHYX28Satp2p7XVKbb",
"useOpportunityProbability": true,
"colorRenderMode": "dot",
"position": "a0V"
}