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

# Update read receipts

> Turns marking the WhatsApp chat as read on or off for a UazAPI inbox (off by default). When on, the chat is marked as read on the phone when an agent opens a conversation with unread messages or a reply answers the contact. Only administrators can change it.



## OpenAPI

````yaml /openapi/application.json patch /api/v1/accounts/{account_id}/inboxes/{inbox_id}/whatsapp_uazapi/read_receipts
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/inboxes/{inbox_id}/whatsapp_uazapi/read_receipts:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - $ref: '#/components/parameters/inbox_id'
        schema:
          type: string
        example: sample
    patch:
      tags:
        - Inboxes
      summary: Update read receipts
      description: >-
        Turns marking the WhatsApp chat as read on or off for a UazAPI inbox
        (off by default). When on, the chat is marked as read on the phone when
        an agent opens a conversation with unread messages or a reply answers
        the contact. Only administrators can change it.
      operationId: >-
        patch-api-v1-accounts-account-id-inboxes-inbox-id-whatsapp-uazapi-read-receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - mark_as_read
              properties:
                mark_as_read:
                  type: boolean
                  description: Whether chats are marked as read on WhatsApp
            example:
              mark_as_read: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  mark_as_read:
                    type: boolean
              example:
                mark_as_read: true
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '422':
          description: mark_as_read is missing or is not true or false
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: mark_as_read must be true or false
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
    inbox_id:
      in: path
      name: inbox_id
      schema:
        type: integer
      required: true
      description: The ID of the Inbox
  schemas:
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

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