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

# Mark as read

> Mark an inbox item as read or unread.



## OpenAPI

````yaml openapi.json PATCH /api/v1/inbox/mark-read
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/mark-read:
    patch:
      tags:
        - Inbox
      summary: Mark as read
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MarkAsRead'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxMarkReadResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    MarkAsRead:
      type: object
      properties:
        inboxItemId:
          type: string
          description: Posttu Inbox item ID (CUID) or Conversation ID
          example: clx123abc456
        type:
          type: string
          enum:
            - MESSAGE
            - COMMENT
            - MENTION
            - REVIEW
            - KEYWORD
          description: Inbox item type
          example: MESSAGE
        read:
          type: boolean
          default: true
          description: True to mark as read, false to mark as unread
          example: true
      required:
        - inboxItemId
        - type
    InboxMarkReadResponse:
      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
            isRead:
              type: boolean
              description: Updated read status
          required:
            - inboxItemId
            - isRead
          description: Updated inbox item
      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.