---
title: "Create a Pipeline"
method: POST
path: "/pipeline/"
tags: ["pipelines"]
---

# Create a Pipeline

`POST /pipeline/`

## Request body

- CreatePipeline
  - `name` string, required
  - `statuses` NewPipelineOpportunityStatus[], nullable — Opportunity Statuses to create within the new Pipeline.
    - `label` string, required
    - `type` 'won' | 'lost' | 'active'

## Response `201`

Successful response

- Pipeline
  - `created_by` string, nullable, required
  - `date_created` string, date-time, required
  - `date_updated` string, date-time, required
  - `id` string, required
  - `name` string, required
  - `organization_id` string, required
  - `statuses` PipelineOpportunityStatus[], required
    - `id` string, required
    - `label` string, required
    - `type` 'won' | 'lost' | 'active', required
  - `updated_by` string, nullable, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/close/apis/close-api.md) · [All operations](https://skmtc.net/close/apis/close-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/close/close-api/revisions/0dcf3303e9d7/schema)
