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

# Update conversation priority

> Sets the priority on the conversation.



## OpenAPI

````yaml /openapi.json post /api/v1/conversations/update_priority
openapi: 3.0.3
info:
  title: Sayless Public API
  version: 1.0.0
  description: >-
    Curated work-graph HTTP API for personal API keys (`sl_api_…`) or OAuth
    tokens (`sl_oat_…`), including app-actor / client_credentials. Documents the
    API/OAuth response mode only.
servers:
  - url: https://api.joinsayless.com
    description: Production gateway
security:
  - bearer: []
tags:
  - name: Tickets
  - name: Ticket comments
  - name: Ticket statuses
  - name: Ticket subscriptions
  - name: Conversations
  - name: Conversation labels
  - name: Conversation statuses
  - name: Conversation subscriptions
  - name: Messages
  - name: Companies
  - name: Contacts
  - name: Company labels
  - name: Company sectors
  - name: Contract types
  - name: Company relationships
  - name: Company updates
  - name: Documents
  - name: Folders
  - name: Notes
  - name: Teams
  - name: Team memberships
  - name: Attachments
  - name: Webhook subscriptions
  - name: Workspace
paths:
  /api/v1/conversations/update_priority:
    post:
      tags:
        - Conversations
      summary: Update conversation priority
      description: Sets the priority on the conversation.
      operationId: ConversationsController_updatePriority
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePriorityRequest'
      responses:
        '200':
          description: Public mutation payload
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/Conversation'
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
      security:
        - bearer: []
components:
  schemas:
    UpdatePriorityRequest:
      type: object
      properties:
        priority:
          type: integer
        conversationId:
          type: string
          format: uuid
        workspaceId:
          type: string
          format: uuid
      additionalProperties: false
      required:
        - priority
        - conversationId
        - workspaceId
    Conversation:
      type: object
      properties:
        _id:
          type: string
        firstReplyAt:
          type: string
          format: date-time
        lastActivityAt:
          type: string
          format: date-time
        lastMessageAt:
          type: string
          format: date-time
        snoozedUntil:
          type: string
        statusId:
          type: string
          format: uuid
        priority:
          type: integer
          enum:
            - 1
            - 2
            - 3
            - 4
          description: 1 urgent, 2 high, 3 normal, 4 low.
        channel:
          type: string
          enum:
            - email
            - slack
            - telegram
            - whatsapp
            - chat
            - teams
            - portal
        workspaceId:
          type: string
          format: uuid
        assigneeId:
          type: string
          format: uuid
        teamId:
          type: string
          format: uuid
          nullable: true
        contactId:
          type: string
          format: uuid
        companyId:
          type: string
          format: uuid
        subject:
          type: string
        deletedAt:
          type: string
          format: date-time
        deletedById:
          type: string
          format: uuid
        archivedAt:
          type: string
          format: date-time
          nullable: true
        archivedById:
          type: string
          format: uuid
          nullable: true
        trashed:
          type: boolean
        trashedAt:
          type: string
          format: date-time
          nullable: true
        trashedById:
          type: string
          format: uuid
          nullable: true
        permanentlyDeleted:
          type: boolean
        markedAsSpamAt:
          type: string
          format: date-time
        markedAsSpamById:
          type: string
          format: uuid
        conversationNumber:
          type: integer
        replyCount:
          type: integer
        slaSummaries:
          type: array
          items:
            type: object
            additionalProperties: true
        slaNextBreachesAt:
          type: string
          format: date-time
          nullable: true
        preview:
          type: string
        additionalAttributes:
          type: string
        labelIds:
          type: array
          items:
            type: string
        ticketIds:
          type: array
          items:
            type: string
        portalTicketId:
          type: string
          format: uuid
          nullable: true
        urlId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    PublicErrorEnvelope:
      type: object
      required:
        - error
        - statusCode
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
            message:
              type: string
            userMessage:
              type: string
            fields:
              type: object
              additionalProperties: true
        statusCode:
          type: number
        timestamp:
          type: string
        path:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: API key or OAuth access token
      description: Personal API key (`sl_api_…`) or OAuth access token (`sl_oat_…`)

````

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