> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1panelsupporttickets 1

> Requires support.read. The conversation with its messages, each carrying its attachments and the push outcome, and the operators' internal notes as a separate list so no client can mistake one for the other.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/panel/support/tickets/{ticketID}
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/support/tickets/{ticketID}:
    get:
      tags:
        - panel
      description: >-
        Requires support.read. The conversation with its messages, each carrying
        its attachments and the push outcome, and the operators' internal notes
        as a separate list so no client can mistake one for the other.
      operationId: getPanelSupportTicket
      parameters:
        - $ref: '#/components/parameters/PanelTicketID'
      responses:
        '200':
          description: Ticket
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PanelSupportTicketDetail'
        '403':
          $ref: '#/components/responses/Problem'
        '404':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    PanelTicketID:
      in: path
      name: ticketID
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    PanelSupportTicketDetail:
      type: object
      required:
        - ticket
        - messages
        - notes
      properties:
        ticket:
          $ref: '#/components/schemas/PanelSupportTicket'
        messages:
          type: array
          items:
            $ref: '#/components/schemas/PanelSupportMessage'
        notes:
          type: array
          description: >-
            Internal notes, never delivered to the customer, as a separate list
            on purpose.
          items:
            $ref: '#/components/schemas/PanelSupportNote'
    PanelSupportTicket:
      type: object
      required:
        - id
        - customerId
        - queueId
        - queueCode
        - subject
        - status
        - priority
        - tags
        - messageCount
        - unreadCount
        - reopenedCount
        - firstResponseBreached
        - createdAt
        - lastMessageAt
      properties:
        id:
          type: string
          format: uuid
        customerId:
          type: string
          format: uuid
        queueId:
          type: string
          format: uuid
        queueCode:
          type: string
        subject:
          type: string
        status:
          type: string
          enum:
            - open
            - pending
            - resolved
            - closed
            - merged
        priority:
          type: string
          enum:
            - low
            - normal
            - high
            - urgent
        assigneeId:
          type: string
          format: uuid
        assigneeName:
          type: string
        tags:
          type: array
          items:
            type: string
        messageCount:
          type: integer
          format: int64
        unreadCount:
          type: integer
          description: >-
            Customer messages and reopens since an operator last marked the
            ticket read.
        reopenedCount:
          type: integer
        firstResponseBreached:
          type: boolean
        mergedIntoTicketId:
          type: string
          format: uuid
        createdAt:
          type: string
          format: date-time
        lastMessageAt:
          type: string
          format: date-time
        firstResponseAt:
          type: string
          format: date-time
        resolvedAt:
          type: string
          format: date-time
    PanelSupportMessage:
      type: object
      required:
        - id
        - sender
        - body
        - delivered
        - createdAt
        - attachments
      properties:
        id:
          type: integer
          format: int64
        sender:
          type: string
          enum:
            - customer
            - operator
            - system
        body:
          type: string
        authorName:
          type: string
        delivered:
          type: boolean
          description: Telegram accepted the push.
        delivery:
          type: string
          enum:
            - queued
            - retrying
            - delivered
            - undeliverable
            - failed
          description: >-
            The push outcome for an operator or system message, absent on a
            customer message. `undeliverable` means the customer blocked the
            bot, deleted their account, or has no Telegram identity; they read
            the message in the web panel.
        deliveryReason:
          type: string
          description: >-
            The classified code behind an undeliverable, failed, or retrying
            push.
        createdAt:
          type: string
          format: date-time
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/PanelSupportAttachment'
    PanelSupportNote:
      type: object
      required:
        - id
        - authorName
        - body
        - createdAt
      properties:
        id:
          type: integer
          format: int64
        authorName:
          type: string
        body:
          type: string
        createdAt:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
    PanelSupportAttachment:
      type: object
      required:
        - id
        - messageId
        - kind
        - fileName
        - mediaType
        - sizeBytes
        - origin
        - downloadable
        - createdAt
      properties:
        id:
          type: string
          format: uuid
        messageId:
          type: integer
          format: int64
        kind:
          type: string
          enum:
            - photo
            - document
        fileName:
          type: string
        mediaType:
          type: string
        sizeBytes:
          type: integer
          format: int64
        origin:
          type: string
          enum:
            - web
            - telegram
          description: >-
            `web` for a file this installation holds; `telegram` for a reference
            to a file in the customer's chat.
        downloadable:
          type: boolean
        createdAt:
          type: string
          format: date-time
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.