Skip to main content
POST
/
api
/
pipelines
/
set-default
Set a pipeline as default
curl --request POST \
  --url https://your-instance.example.com/api/pipelines/set-default \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pipelineId": "<string>"
}
'
{
  "message": "<string>",
  "pipeline": {
    "_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "organizationId": "<string>",
    "type": "Contact",
    "isDefault": true,
    "isActive": true,
    "stages": [
      {
        "name": "<string>",
        "color": "<string>"
      }
    ],
    "pipelineStageIds": [
      "<string>"
    ],
    "pipelineStages": [
      {
        "_id": "<string>",
        "name": "<string>",
        "color": "<string>",
        "position": 123
      }
    ],
    "createdBy": "<string>",
    "updatedBy": "<string>"
  },
  "contactsMigrated": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
pipelineId
string
required

Response

Default pipeline updated

message
string
pipeline
object
contactsMigrated
object