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 '{
  "pipelineId": "<string>",
  "label": "<string>",
  "displayOrder": 123,
  "active": true,
  "stages": [
    {
      "stageId": "<string>",
      "label": "<string>",
      "displayOrder": 123,
      "metadata": {
        "probability": 0.5
      },
      "active": true
    }
  ]
}'
{
  "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
      }
    }
  ]
}

Path Parameters

object_type
enum<string>
required

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

Available options:
deals,
tickets

Body

application/json

Response

201 - application/json

Successfully created pipeline

The response is of type object.