# Send a Message to the WhatsApp Group

<figure><img src="/files/pHClnoOyigrZLBdb23KJ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you haven't [signup](https://online-live-support.com/pricing-free-online-live-support/) yet, please sign up first and [connect your number with WhatsApp](/connecting-a-channel.md)

[API Docs: ](https://documenter.getpostman.com/view/5958097/2s935hQmz4#ae11355f-f9d1-45bd-a675-eb6faa118714)
{% endhint %}

## Step 1: Create Group

Create Group using endpoint: {{base\_url}}/groups/createGroup?id={{id}}

<figure><img src="/files/AGrbxJBFRbeHn2AXwG4a" alt=""><figcaption></figcaption></figure>

## Step 2:&#x20;

Send Message to Group via Endpoint: {{base\_url}}/groups/sendMessageText?id={{id}}

<figure><img src="/files/0MtK1WOpHcFoc5rbtzbl" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note: You can get the group id (jid) while creating group or you can also use List Group API to fetch the group id (jid). If any support is required, please email us at <info@online-live-support.com> or [WhatsApp us](https://wa.me/+601159543635)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docsv3.online-live-support.com/send-message/send-a-message-to-the-whatsapp-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
