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

# Consultar recibido WhatsApp

> Consulta los detalles de un mensaje recibido.



## OpenAPI

````yaml /es/whatsapp-api/api-reference/openapi-whatsapp.json get /v1/whatsapp/messages/inbound/{id}
openapi: 3.0.3
info:
  title: Notifique API — WhatsApp
  description: >-
    Envíe mensajes de WhatsApp y gestione conexiones. Autentíquese con
    `Authorization: Bearer sk_live_...` o `x-api-key`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Producción
security:
  - ntfWaBearerAuth: []
  - ntfWaApiKeyHeader: []
tags:
  - name: Mensajes
    description: Enviar, listar, editar y cancelar mensajes
  - name: Instancias
    description: >-
      Registre y gestione los números de WhatsApp conectados — cada número es
      una **instancia** (el teléfono por el que entran y salen los mensajes).
  - name: Grupos
    description: Grupos (solo conexión no oficial)
paths:
  /v1/whatsapp/messages/inbound/{id}:
    get:
      tags:
        - Mensagens
      summary: Consultar recibido WhatsApp
      description: Consulta los detalles de un mensaje recibido.
      operationId: ntfWa_getV1WhatsappMessageInboundById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: clxxinbound001
          description: >-
            ID do inbound (mesmo valor de `inboundId` no webhook ou em GET
            /v1/whatsapp/messages/inbound).
      responses:
        '200':
          description: Detalle.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/NtfWa_WhatsAppInboundDetail'
              example:
                success: true
                data:
                  id: inb_abc
                  from: '5511888888888'
                  type: TEXT
                  text: Oi
        '401':
          description: No autorizado.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
        '402':
          description: Plano expirado ou suspenso.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
        '403':
          description: Escopo ou instancia.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
        '404':
          description: No encontrado.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
components:
  schemas:
    NtfWa_WhatsAppInboundDetail:
      type: object
      description: >-
        Detalle do inbound: texto e metadados mínimos; sem payload bruto do
        conector.
      properties:
        id:
          type: string
        instanceId:
          type: string
        from:
          type: string
        body:
          type: string
          nullable: true
        receivedAt:
          type: string
          format: date-time
        contentPreview:
          type: object
          description: >-
            Prévia estruturada do conteúdo (kind, mimeType, fileName,
            durationSeconds, mediaUrl, etc.).
        mediaFetch:
          type: object
          nullable: true
          description: >-
            Indica se a mídia pode ser baixada via POST
            /v1/whatsapp/messages/inbound/{id}/media ou GET
            /v1/whatsapp/messages/inbound/{id}/media/download.
          properties:
            fetchable:
              type: boolean
            kind:
              type: string
              enum:
                - image
                - audio
                - document
        instance:
          type: object
          properties:
            name:
              type: string
              nullable: true
            phoneNumber:
              type: string
              nullable: true
    NtfWa_ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: 'Rótulo HTTP do erro (ex.: Unauthorized, Bad Request, Not Found).'
        message:
          type: string
          description: >-
            Mensaje legível para exibir ao usuário (localizada via
            Accept-Language / x-locale quando aplicável).
        code:
          type: string
          description: >-
            Código estável da API v1 (enum). Sempre presente em erros. Use com o
            status HTTP para decidir retry ou correção. Ver [Respuestas de
            erro](/guides/conceitos/resposta-de-erros).
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
        note:
          type: string
      required:
        - success
        - error
        - message
        - code
  securitySchemes:
    ntfWaBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API Key no header Authorization. Exemplo: `Authorization: Bearer
        sk_live_xxxxx`
    ntfWaApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key no header x-api-key.

````