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

# List ticket pipelines

> List active ticket pipelines and their ordered stages. Use these internal ids and stage codes when creating or moving tickets.



## OpenAPI

````yaml GET /ticket-pipelines
openapi: 3.0.1
info:
  title: Masivo's REST API
  description: Learn how to use Masivo's REST API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.masivo.ai/api/storefront/v1
security:
  - bearerAuth: []
paths:
  /ticket-pipelines:
    get:
      description: >-
        List active ticket pipelines and their ordered stages. Use these
        internal ids and stage codes when creating or moving tickets.
      parameters:
        - in: header
          name: x-account-id
          description: The account that owns the pipelines
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Active ticket pipelines
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TicketPipeline'
        '422':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    TicketPipeline:
      type: object
      required:
        - id
        - account_id
        - name
        - display_order
        - is_default
        - stages
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        name:
          type: string
        display_order:
          type: number
        is_default:
          type: boolean
        stages:
          type: array
          items:
            $ref: '#/components/schemas/TicketPipelineStage'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        deleted_at:
          type: string
          format: date-time
          nullable: true
    Error:
      required:
        - error
        - details
      type: object
      properties:
        error:
          type: string
        details:
          type: string
    TicketPipelineStage:
      type: object
      required:
        - code
        - name
        - position
        - stage_type
        - is_default
        - required_fields
      properties:
        code:
          type: string
          description: Stable internal stage code used by tickets and integrations.
        name:
          type: string
        position:
          type: number
        stage_type:
          type: string
          enum:
            - open
            - closed
          description: >-
            Internal state that determines whether entering the stage closes the
            ticket.
        color:
          type: string
          nullable: true
        is_default:
          type: boolean
        archived:
          type: boolean
        required_fields:
          type: array
          items:
            $ref: '#/components/schemas/TicketStageRequiredField'
    TicketStageRequiredField:
      type: object
      required:
        - field_key
        - label
        - field_type
        - is_required
        - position
      properties:
        field_key:
          type: string
        label:
          type: string
        field_type:
          type: string
        is_required:
          type: boolean
        position:
          type: number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````