Skip to content

CRM

Pipelines and stages

A workspace can run several pipelines (sales, support, onboarding), each with ordered stages.

GET/v1/api/product/erix/crm/pipelines

List all pipelines with their stages.

POST/v1/api/product/erix/crm/pipelines

Create a pipeline.

namestringRequired
Pipeline name.
stagesstring[]Required
Stage names in order, e.g. ["New", "Won"].

GET/v1/api/product/erix/crm/pipelines/:pipelineId/board

Kanban view: stages with their leads.

POST/v1/api/product/erix/crm/pipelines/:pipelineId/stages

Add a stage to a pipeline.

const { data: pipelines } = await ecod.product.erix.pipelines.list();

await ecod.product.erix.pipelines.create({
  name: "Sales",
  stages: ["New", "Quoted", "Won"],
});