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

# Marcar notificações como lidas

> Marca como lidas as notificações do usuário dono da chave. Sem filtro no body, marca todas.



## OpenAPI

````yaml https://api.juridiq.com.br/api-docs/client/openapi.json patch /notifications/read
openapi: 3.1.0
info:
  title: Juridiq API — Documentação para Integradores
  description: >-
    API REST para integradores autenticados com chave (`x-juridiq-api-key`).


    ## Rate limit


    A API aberta limita **120 requisições a cada 60s por chave**.

    Ao exceder, a resposta é `429 Too Many Requests` com os headers
    `x-ratelimit-limit`, `x-ratelimit-remaining`, `x-ratelimit-reset` e
    `retry-after`.

    Respeite o `retry-after` antes de tentar de novo. Sincronizações em lote
    devem paginar e tratar 429 com backoff.
  version: 1.0.0
servers:
  - url: https://api.juridiq.com.br
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /notifications/read:
    patch:
      tags:
        - Notifications
      summary: Marcar notificações como lidas
      description: >-
        Marca como lidas as notificações do usuário dono da chave. Sem filtro no
        body, marca todas.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                bell:
                  type: boolean
                  description: 'true: não toca nas categorias escondidas do sino'
                ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  maxItems: 500
                links:
                  type: array
                  items:
                    type: string
                    enum:
                      - TASK
                      - SUBTASK
                      - WORKFLOW
                      - AUDIENCE
                      - PERSON_BIRTHDAY
                      - USER_BIRTHDAY
                      - WIKI
                      - LAWSUIT_DISCOVERY
                groupKey:
                  type: string
                  minLength: 1
                  maxLength: 200
                  description: >-
                    Id do item pai (taskId, audienceId...): filtra as
                    notificações daquele item
                groups:
                  type: array
                  items:
                    type: object
                    properties:
                      link:
                        type: string
                        enum:
                          - TASK
                          - SUBTASK
                          - WORKFLOW
                          - AUDIENCE
                          - PERSON_BIRTHDAY
                          - USER_BIRTHDAY
                          - WIKI
                          - LAWSUIT_DISCOVERY
                      groupKey:
                        type: string
                        minLength: 1
                        maxLength: 200
                        description: >-
                          Id do item pai (taskId, audienceId...): filtra as
                          notificações daquele item
                    required:
                      - link
                      - groupKey
                    additionalProperties: false
                  maxItems: 100
                  description: >-
                    Vários itens pai de uma vez (seleção em lote na lista
                    agrupada)
              additionalProperties: false
              default: {}
              description: Sem filtro marca todas as notificações do usuário
        description: Sem filtro marca todas as notificações do usuário
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                required:
                  - count
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  issues: {}
                required:
                  - message
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-juridiq-api-key
      description: >-
        Chave de API do escritório (criada no painel). Envie o valor no header
        x-juridiq-api-key. A API aberta aplica rate limit por chave (veja a
        documentação de integradores).

````

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