Pipelines

Get organization pipeline

GET
/api/pipelines

Return a single pipeline for the org - defaults to the default pipeline of the given type, or the pipeline identified by pipelineId. The response includes stages and pipelineStageIds for the canvas renderer.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

type?string
Default"Contact"

Value in

  • "Contact"
  • "Application"
pipelineId?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/pipelines"
{  "pipeline": {    "_id": "66f0a0b0c0d0e0f0a0b0c0d0",    "name": "Sales pipeline",    "type": "Contact",    "isDefault": true,    "pipelineStages": [      {        "_id": "67f0a0b0c0d0e0f0a0b0c0d0",        "name": "New",        "color": "#3B82F6",        "position": 0      },      {        "_id": "67f0a0b0c0d0e0f0a0b0c0d1",        "name": "Qualified",        "color": "#10B981",        "position": 1      }    ]  }}