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

# Create a pipeline stage

> Adds a new stage to a pipeline.



## OpenAPI

````yaml /api-reference/voxys_crm_swagger.json post /api/v1/accounts/{account_id}/funnels/{id}/stages
openapi: 3.1.0
info:
  title: Voxys Connect - CRM APIs
  description: >-
    CRM API documentation for Voxys Connect, covering Leads, Companies,
    Pipelines, Follow-up Tasks, and Conversation CRM.
  version: 1.0.0
  contact:
    email: support@voxys.ai
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://connect.voxys.ai
security:
  - userApiKey: []
tags:
  - name: Leads
    description: >-
      Manage CRM leads including creation, status changes, notes, and
      conversion.
  - name: Companies
    description: Manage companies, their contacts, timelines, and duplicate merging.
  - name: Pipelines
    description: Manage sales funnels (pipelines), their stages, and kanban cards.
  - name: Follow-up Tasks
    description: >-
      Create and manage follow-up tasks attached to leads, deals, or
      conversations.
  - name: Conversation CRM
    description: >-
      CRM panel within a conversation: link pipelines, leads, and convert to
      deal.
paths:
  /api/v1/accounts/{account_id}/funnels/{id}/stages:
    parameters:
      - $ref: '#/components/parameters/account_id'
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: The ID of the pipeline.
    post:
      tags:
        - Pipelines
      summary: Create a pipeline stage
      description: Adds a new stage to a pipeline.
      operationId: create-funnel-stage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/funnel_stage_create_payload'
      responses:
        '201':
          description: Stage created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/funnel_stage'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '404':
          description: Pipeline not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/validation_error'
components:
  parameters:
    account_id:
      name: account_id
      in: path
      required: true
      schema:
        type: integer
      description: The numeric ID of the account.
  schemas:
    funnel_stage_create_payload:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          example: Qualification
        color:
          type: string
          nullable: true
          example: '#2196F3'
        position:
          type: integer
          nullable: true
          example: 2
        chatwoot_status:
          type: string
          nullable: true
          enum:
            - open
            - resolved
            - pending
          example: open
    funnel_stage:
      type: object
      properties:
        id:
          type: integer
          example: 7
        funnel_id:
          type: integer
          example: 3
        name:
          type: string
          example: Qualification
        color:
          type: string
          nullable: true
          example: '#2196F3'
        position:
          type: integer
          example: 2
        chatwoot_status:
          type: string
          nullable: true
          enum:
            - open
            - resolved
            - pending
            - null
          example: open
        cards_count:
          type: integer
          example: 8
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    error_response:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
    validation_error:
      type: object
      properties:
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          example:
            name:
              - can't be blank
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        API access token for authentication. Obtain from your Voxys Connect
        profile settings.

````