Create an opportunity pipeline
Creates a pipeline on the object type. Each stage receives a UUIDv4 unless the caller supplies its ID.
A name, slug or stage ID that another pipeline on the object type has is refused with 409 and a code of crm.pipeline.name_taken, crm.pipeline.slug_taken or crm.pipeline.stage_id_taken. Stage IDs on an object type must also be distinct after ignoring case, hyphens, and underscores. A new collision with an existing stage returns 409 crm.pipeline.stage_id_taken; one between two new stages in the request returns 422. A stage ID that newly conflicts with another stage’s label, in either its stored or published spelling, is refused with 409 crm.pipeline.stage_id_taken. A name or stage ID can be taken once the other pipeline gives it up, so the request can be sent again then. A workspace without multiple pipelines is refused with 403 crm.pipeline.configuration_disabled.
Requires a workspace owner or admin.
Required scopes: opportunities:read and config:create
Rate limit category: Write
Body ParametersJSON
Description of the pipeline. Send null to clear it; an empty or whitespace-only string returns 422.
Create an opportunity pipeline
curl https://api.lightfield.app/v1/opportunities/pipelines \
-H 'Content-Type: application/json' \
-H 'Lightfield-Version: 2026-03-01' \
-H "Authorization: Bearer $API_KEY" \
-d '{
"name": "name"
}'{
"id": "id",
"description": "description",
"forecastEnabled": true,
"name": "name",
"slug": "slug",
"stages": [
{
"id": "id",
"label": "label",
"category": "ACTIVE",
"color": "RED",
"description": "description",
"forecastPercentage": 0,
"icon": "BACKLOG"
}
]
}Returns Examples
{
"id": "id",
"description": "description",
"forecastEnabled": true,
"name": "name",
"slug": "slug",
"stages": [
{
"id": "id",
"label": "label",
"category": "ACTIVE",
"color": "RED",
"description": "description",
"forecastPercentage": 0,
"icon": "BACKLOG"
}
]
}