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

# Set priority

> Set the priority level of an inbox item.



## OpenAPI

````yaml openapi.json PATCH /api/v1/inbox/update-priority
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/inbox/update-priority:
    patch:
      tags:
        - Inbox
      summary: Set priority
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePriorityStatus'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxUpdatePriorityResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    UpdatePriorityStatus:
      type: object
      properties:
        inboxItemId:
          type: string
          description: Posttu Inbox item ID (CUID)
          example: clx123abc456
        priority:
          type: string
          enum:
            - LOW
            - NORMAL
            - MEDIUM
            - HIGH
            - URGENT
          description: Priority level
          example: HIGH
      required:
        - inboxItemId
        - priority
    InboxUpdatePriorityResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        error:
          type: string
          description: Error message
        data:
          type:
            - object
            - 'null'
          properties:
            inboxItemId:
              type: string
              description: Posttu Inbox item ID
            priority:
              type: string
              enum:
                - LOW
                - NORMAL
                - MEDIUM
                - HIGH
                - URGENT
              description: Inbox item priority
              example: HIGH
          required:
            - inboxItemId
            - priority
      required:
        - success
        - data
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

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