Zum Hauptinhalt springen
POST
/
crm-pipelines
/
v1
/
pipelines
/
{object_type}
Create a new pipeline
curl --request POST \
  --url https://api.hubapi.com/crm-pipelines/v1/pipelines/{object_type} \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>",
  "displayOrder": 123,
  "active": true,
  "stages": [
    {
      "stageId": "<string>",
      "label": "<string>",
      "displayOrder": 123,
      "metadata": {
        "probability": 0.5
      },
      "active": true
    }
  ],
  "pipelineId": "<string>"
}
'
{
  "pipelineId": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "objectType": "DEAL",
  "label": "<string>",
  "displayOrder": 123,
  "active": true,
  "default": true,
  "stages": [
    {
      "stageId": "<string>",
      "createdAt": 123,
      "updatedAt": 123,
      "label": "<string>",
      "displayOrder": 123,
      "active": true,
      "metadata": {
        "probability": 0.5
      }
    }
  ]
}

Pfadparameter

object_type
enum<string>
erforderlich

The object type that you are creating the pipeline for. Must be one of: deals, tickets

Verfügbare Optionen:
deals,
tickets

Body

application/json
label
string
erforderlich

The label for the pipeline. The label will be displayed when viewing records in HubSpot. The label is limited to 36 characters.

Maximum string length: 36
displayOrder
integer
erforderlich

When viewing records in HubSpot, pipelines are displayed starting with the pipeline with the lowest displayOrder value.

active
boolean
erforderlich

Whether or not the pipeline is active. This should be true for new pipelines, otherwise they will not be available to use when updating or editing records.

stages
object[]
erforderlich

A list of stages for this pipeline. Pipelines may have up to 100 stages.

Maximum array length: 100
pipelineId
string

The internal ID for the new pipeline. The ID must be unique across pipelines for the specified object type. This ID will be automatically generated if not included when creating the pipeline. The ID is limited to 36 characters.

Maximum string length: 36

Antwort

201 - application/json

Successfully created pipeline

pipelineId
string
createdAt
integer<int64>
updatedAt
integer<int64> | null
objectType
enum<string>
Verfügbare Optionen:
DEAL,
TICKET
label
string
displayOrder
integer
active
boolean
default
boolean
stages
object[]
Last modified on April 9, 2026