{
      "org_id": "2997dd64-89bf-48d3-9a22-b314fca017e5",
      "notification_id": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove",
      "chat_id": "120363371308389685@g.us",
      "author": "918527184400@c.us",
      "body": null,
      "id": {
          "id": "fa3c48a78cc64e139e5737f7057235ea",
          "fromMe": true,
          "remote": "120363371308389685@g.us",
          "serialized": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove"
      },
      "recipientids": [
          "919537851844@c.us"
      ],
      "type": "remove",
      "timestamp": "2025-01-11T11:52:27.231+00:00",
      "org_phone": "918527184400@c.us",
      "unique_id": "fa3c48a78cc64e139e5737f7057235ea",
      "metadata": null
  }
  {
      "org_id": "2997dd64-89bf-48d3-9a22-b314fca017e5",
      "notification_id": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove",
      "chat_id": "120363371308389685@g.us",
      "author": "918527184400@c.us",
      "body": null,
      "id": {
          "id": "fa3c48a78cc64e139e5737f7057235ea",
          "fromMe": true,
          "remote": "120363371308389685@g.us",
          "serialized": "true_120363371308389685@g.us_fa3c48a78cc64e139e5737f7057235ea_918527184400@c.us_remove"
      },
      "recipientids": [
          "919537851844@c.us"
      ],
      "type": "remove",
      "timestamp": "2025-01-11T11:52:27.231+00:00",
      "org_phone": "918527184400@c.us",
      "unique_id": "fa3c48a78cc64e139e5737f7057235ea",
      "metadata": null
  }

Attributes

org_id
string

The unique identifier of the organization that owns the WhatsApp account.

chat_id
string

The unique identifier of the WhatsApp chat or group where the notification occurred.

notification_id
string

A unique identifier for the notification, typically containing information about the chat, action, and participant.

author
string

The WhatsApp ID of the user who triggered the notification (format: {phone_number}@c.us).

body
string | null

The content of the notification message. Can be null for certain notification types.

id
object

Detailed identification information for the notification.

recipientids
array

An array of WhatsApp IDs for the notification recipients (format: ["{phone_number}@c.us"]).

type
string

The type of notification event. Possible values are add, remove, promote, demote, leave, announce_true, announce_false, restrict_true, restrict_false, memberaddmode_true, memberaddmode_false, subject, desc, call

  • add: A member was added to the group. If author is present, it indicates who added them; otherwise, they joined via an invite link.
  • remove: A member was removed from the group.
  • promote: A member was promoted to an admin role.
  • demote: Admin privileges were removed from a member.
  • leave: A user left the group.
  • announce_true: The group settings were changed to allow only admins to send messages.
  • announce_false: The group settings were changed to allow all members to send messages.
  • restrict_true: The group settings were changed to allow only admins to update group info (subject, description, icon).
  • restrict_false: The group settings were changed to allow all members to update group info.
  • memberaddmode_true: The group settings were changed to allow all members to add new members.
  • memberaddmode_false: The group settings were changed to allow only admins to add new members.
  • subject: The group subject was changed.
  • desc: The group description was changed.
  • call: Represents a call notification. See the metadata field for more details about the call
timestamp
string

The ISO 8601 formatted timestamp when the notification was created.

org_phone
string

The WhatsApp ID of the organization’s account (format: {phone_number}@c.us).

unique_id
string

A unique identifier for the notification event, matching the id.id field.

metadata
object

Additional metadata about the notification. For call notifications, this object contains information about the call.