Pipelines

List pipelines

Returns your sales pipelines in order, each with its stages and how many open leads and deals it holds. A chain member also gets its chain's shared pipeline first. Use the ids to create leads and deals or move them between stages. Needs the CRM add-on; without it the call returns 403.

GET
/crm/pipelines

Returns your sales pipelines in order, each with its stages and how many open leads and deals it holds. A chain member also gets its chain's shared pipeline first. Use the ids to create leads and deals or move them between stages. Needs the CRM add-on; without it the call returns 403.

Authorization

x-api-key
x-api-key<token>

Company API key, created under Settings > API Keys.

In: header

Header Parameters

x-company-id?string

Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.

Match^[0-9a-fA-F]{24}$

Response Body

application/json

curl -X GET "https://example.com/crm/pipelines"
[  {    "color": "string",    "companyId": "string",    "createdAt": "2019-08-24T14:15:22Z",    "emoji": "string",    "id": "string",    "isChainPipeline": true,    "isDefault": true,    "leadCount": 0,    "name": "string",    "offerSentStageId": "string",    "openDealCount": 0,    "order": 0,    "stages": [      {        "color": "string",        "createdAt": "2019-08-24T14:15:22Z",        "dealCount": 0,        "id": "string",        "name": "string",        "order": 0,        "pipelineId": "string",        "updatedAt": "2019-08-24T14:15:22Z"      }    ],    "updatedAt": "2019-08-24T14:15:22Z"  }]