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

# Atualizar notificações WhatsApp

> Ativa ou desativa notificações WhatsApp para a subscription do escritório.



## OpenAPI

````yaml https://api.juridiq.com.br/openapi.json post /admin-page/whatsapp-alerts
openapi: 3.1.0
info:
  title: Juridiq Server API (interno)
  description: Documentação técnica **interna** da API Juridiq Server
  version: 1.0.0
servers:
  - url: http://localhost:3001
    description: Development server
  - url: https://api.juridiq.com.br
    description: Production server
security:
  - bearerAuth: []
paths:
  /admin-page/whatsapp-alerts:
    post:
      tags:
        - Admin Page
      summary: Atualizar notificações WhatsApp
      description: >-
        Ativa ou desativa notificações WhatsApp para a subscription do
        escritório.
      operationId: updateWhatsappAlerts
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                canReceiveWhatsappAlerts:
                  type: boolean
              required:
                - email
                - canReceiveWhatsappAlerts
              additionalProperties: false
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                required:
                  - success
                  - message
                additionalProperties: false
        '400':
          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
        '404':
          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
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Insira o token JWT no formato: Bearer {token}'

````