# Introduction

Thanks to our API, you will be able to send a WhatsApp message to any number, group and channels (if you have the permissions to do so)

To send a message of any type, you need a **chat ID**. You can read more about Chat IDs here:

{% embed url="<https://support.whapi.cloud/help-desk/other/chat-id.-what-is-it-and-how-to-get-it>" %}
To send a text message to a private or group chat, you will need a chat ID
{% endembed %}

All these IDs are returned by the Get [chats](https://whapi.readme.io/reference/getchats)/[groups](https://whapi.readme.io/reference/getgroups)/[newsletters](https://whapi.readme.io/reference/getnewsletters) methods, which you will learn about in the respective sections.

Speaking of identifiers, we highly recommend storing a `Message ID` in your application that will be returned by our response, as shown below. If there is a need to reply, mark or even delete a message, you will need to provide the `Message ID` as an attribute in the method.

{% hint style="info" %}
If you need to format your text, you can use our tips to make your posts more elegant: [WhatsApp Text Formatting](/help-desk/faq/whatsapp-text-formatting.md)
{% endhint %}

***

### Send Text Message

{% embed url="<https://whapi.readme.io/reference/sendmessagetext>" %}

### Send Media Message

Additional endpoint for easy send media-file as message. Use request body as file and inpath parameters for send parameters. Media message can be one of the following types:

{% embed url="<https://whapi.readme.io/reference/sendmediamessage>" %}

### Send Image <a href="#send-image" id="send-image"></a>

{% embed url="<https://whapi.readme.io/reference/sendmessageimage>" %}

### Send Document <a href="#send-document" id="send-document"></a>

{% embed url="<https://whapi.readme.io/reference/sendmessagedocument>" %}

### Send Audio <a href="#send-audio" id="send-audio"></a>

{% embed url="<https://whapi.readme.io/reference/sendmessageaudio>" %}

### Send Voice <a href="#send-voice" id="send-voice"></a>

You can Send a ppt audio recording to the phone number or group, But WhatsApp is sensitive to this extension, you need to be in OGG format and the **codecs** should be the **opus**, For more information, you can check out this [article](/help-desk/sending/overview-of-other-methods-for-sending/send-voice-message.md).

{% embed url="<https://whapi.readme.io/reference/sendmessagevoice>" %}

### Send Video <a href="#send-video" id="send-video"></a>

{% embed url="<https://whapi.readme.io/reference/sendmessagevideo>" %}

### Send GIF

{% embed url="<https://whapi.readme.io/reference/sendmessagegif>" %}

### Send Contact <a href="#send-contact" id="send-contact"></a>

{% embed url="<https://whapi.readme.io/reference/sendmessagecontact>" %}

### Send Contact List

{% embed url="<https://whapi.readme.io/reference/sendmessagecontactlist>" %}

### Send Location <a href="#send-location" id="send-location"></a>

{% embed url="<https://whapi.readme.io/reference/sendmessagelocation>" %}

### Send Sticker

{% embed url="<https://whapi.readme.io/reference/sendmessagesticker>" %}


---

# 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://support.whapi.cloud/help-desk/sending/introduction.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.
