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

# whatsapp.group.inbound_message.received

> Occurs when a WhatsApp inbound message is received in a group.

Use `whatsapp.group.inbound_message.received` at your webhook endpoint.

## Triggers

Occurs when a WhatsApp inbound message is received in a group.

Subscribe explicitly when you [configure your webhook endpoint](https://docs.ycloud.com/en/api-reference/guides/api-fundamentals/configure-webhooks.md).

Read `whatsappInboundMessage.groupId` to identify the group. Sender identity and message content retain the [ordinary inbound payload fields](https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-inbound-message-received.md). A group message requires an explicit group-event subscription; ordinary inbound subscriptions do not receive newly generated group events.

See [group message handling](https://docs.ycloud.com/en/api-reference/guides/whatsapp-platform/manage-whatsapp-groups.md#interpret-group-message-webhooks) for the subscription transition and retry rules.
See the [inbound group message example](https://docs.ycloud.com/en/api-reference/guides/examples/webhook-examples/whatsapp-inbound-message-webhook-examples#inbound-group-message) for the request and acknowledgement.

## Syntax

YCloud sends an HTTP `POST` to your configured receiver. Optional fields depend on the available message and receipt data.

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "<EVENT_ID>",
  "type": "whatsapp.group.inbound_message.received",
  "apiVersion": "<API_VERSION>",
  "createTime": "<EVENT_CREATE_TIME>",
  "whatsappInboundMessage": {
    "id": "wam_inbound_01",
    "wamid": "wamid.inbound.1",
    "wabaId": "123456789012345",
    "groupId": "Y2FwaV9ncm91cDpFWEFNUExFX0dST1VQX0lE",
    "from": "16315552222",
    "to": "16315551111",
    "type": "text",
    "sendTime": "2026-05-13T00:00:00.000Z",
    "text": {
      "body": "Hello group"
    }
  }
}
```

## Parameters

Validate the `YCloud-Signature` header before processing the event.

### Event envelope

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | Unique event ID used to deduplicate deliveries. |
| `type` | string | Yes | Always `whatsapp.group.inbound_message.received`. |
| `apiVersion` | string | Yes | API version used for this event. |
| `createTime` | string | Yes | Event creation time in RFC 3339 format. |

### Event payload

| Parameter | Type | Required | Description |
| - | - | - | - |
| `whatsappInboundMessage` | object | Yes | The group-message event payload. |

#### whatsappInboundMessage

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | Unique ID for the object. |
| `wamid` | string | No | The original message ID on WhatsApp's platform. |
| `wabaId` | string | No | WhatsApp Business Account ID. |
| `from` | string | No | The customer's phone number who sent the message to the business, formatted in [E.164](https://en.wikipedia.org/wiki/E.164) format. |
| `fromUserId` | string | No | The customer's WhatsApp Business-scoped user ID (BSUID). |
| `fromParentUserId` | string | No | The customer's parent WhatsApp Business-scoped user ID. |
| `customerProfile` | object | No | Represents the profile of a WhatsApp account. |
| `to` | string | No | The recipient's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. |
| `sendTime` | string | No | The time at which this message is sent, formatted in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339). e.g., `2022-06-01T12:00:00.000Z`. |
| `type` | string | No | WhatsApp inbound message type. See also [WhatsApp webhook messages object](https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components#messages-object). |
| `text` | object | No | When the notification describes a text message, the text object provides the body of the text message. |
| `image` | object | No | When a message with media (`image` \| `document` \| `audio` \| `video` \| `sticker`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object. |
| `video` | object | No | When a message with media (`image` \| `document` \| `audio` \| `video` \| `sticker`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object. |
| `audio` | object | No | When a message with media (`image` \| `document` \| `audio` \| `video` \| `sticker`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object. |
| `document` | object | No | When a message with media (`image` \| `document` \| `audio` \| `video` \| `sticker`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object. |
| `sticker` | object | No | When a message with media (`image` \| `document` \| `audio` \| `video` \| `sticker`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object. |
| `interactive` | object | No | When a customer has interacted with your message, this object is included in the message object. |
| `location` | object | No | When you receive a notification of a user's static location, the location object provides the details of the location. |
| `button` | object | No | When the message type field is set to `button`, this object is included in the message object. |
| `contacts` | array | No | contacts value. |
| `reaction` | object | No | When a user reacts to messages with an emoji, the message type is set to `reaction`, and this field is included. |
| `order` | object | No | When a customer places an order, the message type is set to `order`, and this field is included. |
| `system` | object | No | When the message type is set to `system`, this field is included. This object describes a user phone number change, a BSUID change, or a possible identity change on WhatsApp. |
| `errors` | array | No | errors value. |
| `context` | object | No | Message context. |
| `referral` | object | No | When a user messages businesses using call-to-actions buttons on [Ads that Click to WhatsApp](https://www.facebook.com/business/help/447934475640650) or a [Facebook Page call-to-action buttons](https://www.facebook.com/help/977869848936797), this field is included as an attachment. |
| `groupId` | string | Yes | ID of the group that received the message. |

#### whatsappInboundMessage.text

| Parameter | Type | Required | Description |
| - | - | - | - |
| `body` | string | No | Message text. |

## Example

IDs and phone numbers below are illustrative.

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "evt_group_inbound_123",
  "type": "whatsapp.group.inbound_message.received",
  "apiVersion": "v2",
  "createTime": "2026-05-13T00:00:00.000Z",
  "whatsappInboundMessage": {
    "id": "wam_inbound_01",
    "wamid": "wamid.inbound.1",
    "wabaId": "123456789012345",
    "groupId": "Y2FwaV9ncm91cDpFWEFNUExFX0dST1VQX0lE",
    "from": "16315552222",
    "to": "16315551111",
    "type": "text",
    "sendTime": "2026-05-13T00:00:00.000Z",
    "text": {
      "body": "Hello group"
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.