Skip to main content
WEBHOOK
messages-revoked
{
  "event": "message.revoked",
  "data": {
    "id": "<string>",
    "event": "message.revoked",
    "metadata": [
      {}
    ],
    "me": {
      "id": "<string>",
      "pushName": "<string>"
    },
    "payload": {
      "after": {
        "id": "<string>",
        "timestamp": 123,
        "from": "<string>",
        "fromMe": true,
        "body": "<string>",
        "to": "<string>",
        "participant": "<string>",
        "hasMedia": true,
        "media": {},
        "ack": 123,
        "ackName": "<string>",
        "replyTo": "<string>",
        "_data": {
          "key": {
            "remoteJid": "<string>",
            "fromMe": true,
            "id": "<string>",
            "participant": "<string>"
          },
          "messageTimestamp": 123,
          "pushName": "<string>",
          "broadcast": true,
          "message": {
            "senderKeyDistributionMessage": {
              "groupId": "<string>",
              "axolotlSenderKeyDistributionMessage": "<string>"
            },
            "protocolMessage": {
              "key": {
                "remoteJid": "<string>",
                "fromMe": true,
                "id": "<string>"
              },
              "type": "<string>"
            },
            "messageContextInfo": {
              "deviceListMetadata": {
                "recipientKeyHash": "<string>",
                "recipientTimestamp": "<string>"
              },
              "deviceListMetadataVersion": 123
            }
          }
        }
      },
      "before": {},
      "_data": {
        "key": {
          "remoteJid": "<string>",
          "fromMe": true,
          "id": "<string>",
          "participant": "<string>"
        },
        "messageTimestamp": 123,
        "pushName": "<string>",
        "broadcast": true,
        "message": {
          "senderKeyDistributionMessage": {
            "groupId": "<string>",
            "axolotlSenderKeyDistributionMessage": "<string>"
          },
          "protocolMessage": {
            "key": {
              "remoteJid": "<string>",
              "fromMe": true,
              "id": "<string>"
            },
            "type": "<string>"
          },
          "messageContextInfo": {
            "deviceListMetadata": {
              "recipientKeyHash": "<string>",
              "recipientTimestamp": "<string>"
            },
            "deviceListMetadataVersion": 123
          }
        }
      }
    },
    "instanceId": "<string>",
    "userId": "<string>"
  }
}

message.revoked

Emitted when a previously sent message is deleted (revoked) by any participant.

Headers

x-userId
string
required

User UUID associated with the connected WhatsApp instance.

x-instanceId
string
required

Instance UUID of the connected WhatsApp instance.

Body

application/json
event
enum<string>
Available options:
message.revoked
data
object

Response

200

The API successfully processed the batch of messages and returned a status of 200, confirming successful receipt and synchronization.

I