> ## 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.

# Post v1panelsupporttickets priority

> Requires support.write. Priority does not change the SLA target, which belongs to the queue.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml post /v1/panel/support/tickets/{ticketID}/priority
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}/priority:
    post:
      tags:
        - panel
      description: >-
        Requires support.write. Priority does not change the SLA target, which
        belongs to the queue.
      operationId: setPanelSupportTicketPriority
      parameters:
        - $ref: '#/components/parameters/PanelTicketID'
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - priority
              properties:
                priority:
                  type: string
                  enum:
                    - low
                    - normal
                    - high
                    - urgent
      responses:
        '200':
          description: Ticket
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PanelSupportTicket'
        '403':
          $ref: '#/components/responses/Problem'
        '404':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    PanelTicketID:
      in: path
      name: ticketID
      required: true
      schema:
        type: string
        format: uuid
    CSRFToken:
      in: header
      name: X-CSRF-Token
      required: true
      description: >-
        Echoes the token from the current session. Required on every unsafe
        method.
      schema:
        type: string
  schemas:
    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
    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
  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.