---
title: "Create pipeline"
method: POST
path: "/v2/pipelines"
tags: ["Pipelines"]
---

# Create pipeline

`POST /v2/pipelines`

## Request

- Base URL: `https://api.streak.com/api`
- URL: `https://api.streak.com/api/v2/pipelines`
- Auth: HTTP bearer

Creates a basic pipeline.

## Request body

- PipelineCreate
  - `name` string, required: Pipeline name.
  - `teamKey` string, required: Key for the team that will own the pipeline.
  - `stages` string[], required: Stage names in display order.
  - `icon` string, nullable: Pipeline icon name.
  - `description` string, nullable: Pipeline description.
  - `templateType` string, nullable: Template identifier associated with the pipeline.
  - `fields` PipelineFieldCreate[], nullable: Fields to create in the pipeline.
    - `name` string, required: Field name.
    - `type` 'TEXT_INPUT' | 'DROPDOWN' | 'CHECKBOX' | 'DATE' | 'PERSON' | 'FORMULA' | 'TAG' | 'TEAM_CONTACT' | 'TEAM_ORGANIZATION', required
    - `defaultValue` string, nullable: Initial default value. Currently only used for formula fields.
  - `defaultPermissionSetName` string, nullable: Default permission set for users without an explicit assignment.
  - `sharingRestrictedToTeam` boolean, nullable: Whether sharing is restricted to members of the owning team.

## Response `200`

The created pipeline.

- Pipeline
  - `key` string, required: Key for this pipeline.
  - `teamKey` string, nullable: Key for the team that owns this pipeline.
  - `creatorKey` string, required: Key for the user who created this pipeline.
  - `name` string, required: Pipeline name.
  - `icon` string, required: Pipeline icon name.
  - `description` string, nullable: Pipeline description.
  - `sharingRestrictedToTeam` boolean, nullable: Whether sharing is restricted to the team.
  - `fields` PipelineField[], required: Custom fields configured for this pipeline.
    - `key` string, required: Field key within the pipeline.
    - `name` string, required: Field name.
    - `type` 'TEXT_INPUT' | 'DROPDOWN' | 'CHECKBOX' | 'DATE' | 'PERSON' | 'FORMULA' | 'TAG' | 'TEAM_CONTACT' | 'TEAM_ORGANIZATION', required
    - `defaultValue` unknown
    - `lastDefaultValueUpdatedTimestamp` integer, nullable: Timestamp when the default value last changed, in epoch milliseconds.
    - `lastUpdatedTimestamp` integer, nullable: Timestamp when this field last changed, in epoch milliseconds.
    - `dropdownSettings` object, nullable: Dropdown options when this is a dropdown field.
      - `items` PipelineDropdownItem[], required: Available dropdown options.
        - `key` string, nullable: Option key.
        - `name` string, required: Option name.
    - `tagSettings` object, nullable: Tag options when this is a tag field.
      - `tags` PipelineTagItem[], required: Available tags.
        - `key` string, required: Tag key.
        - `tag` string, required: Tag label.
    - `aiSettings` PipelineAiSettings, required
      - `prompt` string, required: Prompt used for AI autofill.
      - `source` 'BOX_TIMELINE' | 'WEB_CRAWLING', required: Content used as context for AI autofill. BOX_TIMELINE uses the pipeline item's timeline; WEB_CRAWLING uses content found on the web.
  - `stages` object, required: Stages in this pipeline, keyed by stage key.
  - `stageOrder` string[], required: The display order of the stages
  - `stageColorTheme` 'DEFAULT' | 'STREAK' | 'RAINBOW_SATURATED' | 'RAINBOW_FADED' | 'TRAFFIC_LIGHT_SATURATED' | 'TRAFFIC_LIGHT_FADED' | 'LAKESIDE_SATURATED' | 'LAKESIDE_FADED' | 'SUNSET_SATURATED' | 'SUNSET_FADED' | 'SUMMER_SATURATED' | 'SUMMER_FADED' | 'HALLOWEEN_SATURATED' | 'HALLOWEEN_FADED' | 'GREYSCALE' | 'BLUEGREY' | 'RED' | 'YELLOWORANGE' | 'GREEN' | 'TEAL' | 'CYAN' | 'BLUE' | 'INDIGO' | 'DEEPPURPLE' | 'VIOLET' | 'PINK', required
  - `creationTimestamp` integer, required: Timestamp when the pipeline was created, in epoch milliseconds.
  - `lastUpdatedTimestamp` integer, required: Timestamp when the pipeline was last updated, in epoch milliseconds.
  - `formulasLastUpdatedTimestamp` integer, nullable: Latest formula-definition update timestamp, in epoch milliseconds.
  - `customPermissionSets` object, required: Custom permission sets configured for this pipeline.
  - `defaultPermissionSetName` string, required: Default permission set assigned to users without an explicit assignment.
  - `aclEntries` PipelineSharingEntry[], required: Users explicitly sharing this pipeline and their permission assignments.
    - `userKey` string, required: Key for the shared user.
    - `permissionSetName` string, required: Permission set assigned to the user.
    - `email` string, nullable: User email address.
    - `displayName` string, nullable: User display name.
    - `fullName` string, nullable: User full name.
    - `givenName` string, nullable: User given name.
    - `image` string, nullable: User profile image URL.
    - `userType` 'HUMAN' | 'AGENT', nullable: User account type.
    - `isReadOnly` boolean, nullable: Whether the sharing entry is read-only.
  - `creationSourceType` 'HUMAN' | 'SYSTEM_ONBOARDING' | 'AI_PIPELINE_CREATOR', required
  - `boxCount` integer: Current number of boxes in the pipeline.
  - `lastSavedTimestamp` integer, required: Timestamp when the pipeline was last persisted, in epoch milliseconds.

## Changes

- **2026-10-16** `1c3a5ef8b9ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/streakyc/apis/streak/changes/v2/pipelines/post.md)

---

[API](https://skmtc.dev/streakyc/apis/streak.md) - [All operations](https://skmtc.dev/streakyc/apis/streak/llms.txt) - [OpenAPI document](https://skmtc.dev/streakyc/apis/streak/revisions/3648671fd1cf?raw)
