メインコンテンツへスキップ
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
      }
    }
  ]
}

パスパラメータ

object_type
enum<string>
必須

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

利用可能なオプション:
deals,
tickets

ボディ

application/json
label
string
必須

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
必須

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

active
boolean
必須

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[]
必須

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

レスポンス

201 - application/json

Successfully created pipeline

pipelineId
string
createdAt
integer<int64>
updatedAt
integer<int64> | null
objectType
enum<string>
利用可能なオプション:
DEAL,
TICKET
label
string
displayOrder
integer
active
boolean
default
boolean
stages
object[]
Last modified on April 13, 2026