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

# Switch interactive messages on or off for a WAHA or UazAPI inbox

> Without units bought per inbox every inbox has interactive messages unless switched off. With a per-inbox add-on only the
inboxes switched on have them, and switching one more on needs a free unit (`addon_quota_exhausted`).




## OpenAPI

````yaml /openapi/application.json patch /api/v1/accounts/{account_id}/inboxes/{inbox_id}/interactive_messages
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}/interactive_messages:
    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: Switch interactive messages on or off for a WAHA or UazAPI inbox
      description: >
        Without units bought per inbox every inbox has interactive messages
        unless switched off. With a per-inbox add-on only the

        inboxes switched on have them, and switching one more on needs a free
        unit (`addon_quota_exhausted`).
      operationId: updateInboxInteractiveMessages
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - enabled
              properties:
                enabled:
                  type: boolean
                  example: true
            example:
              enabled: true
      responses:
        '200':
          description: Saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inbox_interactive_messages'
              example:
                available: true
                enabled: true
                quota_available: true
        '403':
          description: The server or the account does not offer interactive messages
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Forbidden
        '422':
          description: >-
            Every unit bought is in use (`code` `addon_quota_exhausted`), or the
            inbox is not a WAHA or UazAPI inbox
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                    example: addon_quota_exhausted
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      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:
    inbox_interactive_messages:
      type: object
      properties:
        available:
          type: boolean
          description: >-
            The server supports interactive messages and the account has the
            feature
        enabled:
          type: boolean
          description: The inbox can send interactive messages
        quota_available:
          type: boolean
          description: >-
            The inbox can switch them on without going over the units bought per
            inbox
  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.