Pipelines

Quartz API enables an easy access to pipeline data, metrics through the /pipelines API endpoint.

Pipelines and sub-pipelines represent a set of open opportunities (meaning opportunities still active in the CRM).

  • Pipeline is the set of all opportunities within the CRM for a company

  • Sub-pipeline is a subset of the complete pipeline. e.g team pipeline or individual pipeline

Pipelines

Get Pipelines

Retrieves the complete list of pipeline and sub-pipelines of open opportunities for the company.

GET /pipelines
response
{
    "snapshot_id": "4af7c8d0-20c7-11ef-acef-1568cab95b54",
    "created_at": "2024-06-02 10:00:48",
    "pipeline_definitions": [
        {
            "label": "Sales Pipeline",
            "pipeline_definition_id": "572af52d-20c7-11ef-aa7d-1568cab95b54",
            "pipelines": [
                {
                    "id": "57bdc608-20c7-11ef-84a5-1568cab95b54",
                    "is_sub_pipeline": true,
                },
                {
                    "id": "57a86818-20c7-11ef-89c0-1568cab95b54",
                    "is_sub_pipeline": false,
                },
                {
                    "id": "57bdc6f7-20c7-11ef-b68a-1568cab95b54",
                    "is_sub_pipeline": true
                }
            ]
        }
    ]
}

Get Pipeline Stages

Pipeline stages are defined in the CRM part of the initial configuration. We offer an endpoint to retrieve these stages for use in your application.

Pipelines Data

Get Pipeline Metrics

Retrieves pipeline metrics as documented in Metrics Reference.

All available metrics can be retrieved.

Get Pipeline Metrics as Time Series

Retrieves pipeline metrics as time series by specifying the metric and the duration to retrieve.

Last updated

Was this helpful?