> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getoutbox.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Pipeline

> Create a CRM pipeline. If `stages` is omitted a sensible default (New, Qualified, Proposal, Won, Lost) is created.



## OpenAPI

````yaml POST /crm/pipelines/
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /crm/pipelines/:
    post:
      tags:
        - crm
      summary: Create Pipeline
      description: >-
        Create a CRM pipeline. If `stages` is omitted a sensible default (New,
        Qualified, Proposal, Won, Lost) is created.
      operationId: crm_pipelines_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PipelineCreateRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PipelineCreateRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PipelineCreateRequestRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: Pipeline created with stages.
        '400':
          description: '`name` was empty or already taken by another active pipeline.'
      security:
        - jwtAuth: []
        - {}
components:
  schemas:
    PipelineCreateRequestRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        description:
          type: string
        stages:
          type: array
          items:
            $ref: '#/components/schemas/PipelineCreateStageRequest'
          description: Ordered list of stages. Stage order is taken from the array index.
      required:
        - name
    PipelineCreateStageRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        is_closed_won:
          type: boolean
          default: false
        is_closed_lost:
          type: boolean
          default: false
      required:
        - name
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````