> For the complete documentation index, see [llms.txt](https://support.whapi.cloud/help-desk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.whapi.cloud/help-desk/sending/overview-of-other-methods-for-sending/chat-with-meta-ai.md).

# Chat with Meta AI

Meta AI replies are temporarily unavailable through the Whapi.Cloud API.

{% hint style="warning" %}
**Meta AI is temporarily not supported.**

Messages from Meta AI are currently not visible through the Whapi.Cloud API. Webhooks about message status changes may still arrive, but they do not mean that the Meta AI reply is available.
{% endhint %}

A Meta AI chat may have an ID such as `123456789012345@bot`.

Meta AI can answer questions, provide recommendations, help with ideas, and support interactive conversations directly inside WhatsApp.

The methods and examples below are kept for reference while Meta AI support is temporarily unavailable.

### Important notes

* Meta AI availability depends on WhatsApp and may vary by country or account.
* Meta AI is currently available only for personal WhatsApp accounts, not WhatsApp Business accounts.
* AI-generated responses may be inaccurate or incomplete.
* Configuring webhooks does not currently make Meta AI replies available through the API.

You can read more about receiving messages here: [Webhooks documentation](https://support.whapi.cloud/help-desk/receiving/webhooks)

### Get available AI bots

First, request the [list of bots](https://whapi.readme.io/reference/getbotlist) available for your connected WhatsApp account.

Use: `GET https://gate.whapi.cloud/bots`

Example request:

```bash
curl --request GET \
  --url https://gate.whapi.cloud/bots \
  --header 'accept: application/json' \
  --header 'authorization: Bearer <CHANNEL_TOKEN>'
```

Example response:

```json
{
  "bots": [
    {
      "id": "13135550002@s.whatsapp.net",
      "persona_id": "867051315767696$1516093456410924"
    }
  ],
  "count": 1
}
```

The `id` value is the Bot ID. You will use it to send messages to this AI bot.

### Send a message to an AI bot

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

Use: `POST https://gate.whapi.cloud/bots/{BotID}/messages`

Replace `{BotID}` with the bot ID from the previous response.

Example request:

```bash
curl --request POST \
  --url https://gate.whapi.cloud/bots/13135550002%40s.whatsapp.net/messages \
  --header 'accept: application/json' \
  --header 'authorization: Bearer <CHANNEL_TOKEN>' \
  --header 'content-type: application/json' \
  --data '{
    "body": "Hello! What can you help me with?"
  }'
```

In the URL, the `@` character can be encoded as `%40`.

### Request body

* `body` — the text message you want to send to the AI bot.

Example:

```json
{
  "body": "Suggest three ideas for a weekend trip."
}
```

### Receive AI responses

Meta AI replies are currently not visible through the API. Message status webhooks may still arrive, but they do not contain the bot reply.

The usual [webhook for incoming messages](https://support.whapi.cloud/help-desk/receiving/webhooks/incoming-webhooks-format.md) remains documented for reference; setting it up does not resolve this limitation.

Reference flow (temporarily unavailable):

1. Call `GET /bots` to get available AI bots.
2. Select the required bot ID.
3. Send a message using `POST /bots/{BotID}/messages`.
4. Receive the AI response through your configured webhook.
5. Process the response in your application, CRM, bot, or automation workflow.

### How to start a Meta AI chat manually

You can also start a conversation with Meta AI directly from the WhatsApp app first.

{% embed url="<https://faq.whatsapp.com/666767195111959/?cms_platform=web>" %}

Availability of Meta AI in the WhatsApp app does not currently mean that its replies are available through the Whapi.Cloud API.
