Chat with Meta AI
Meta AI replies are temporarily unavailable through the Whapi.Cloud API.
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
Get available AI bots
First, request the list of bots available for your connected WhatsApp account.
Use: GET https://gate.whapi.cloud/bots
Example request:
curl --request GET \
--url https://gate.whapi.cloud/bots \
--header 'accept: application/json' \
--header 'authorization: Bearer <CHANNEL_TOKEN>'Example response:
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
Use: POST https://gate.whapi.cloud/bots/{BotID}/messages
Replace {BotID} with the bot ID from the previous response.
Example request:
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:
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 remains documented for reference; setting it up does not resolve this limitation.
Reference flow (temporarily unavailable):
Call
GET /botsto get available AI bots.Select the required bot ID.
Send a message using
POST /bots/{BotID}/messages.Receive the AI response through your configured webhook.
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.
Availability of Meta AI in the WhatsApp app does not currently mean that its replies are available through the Whapi.Cloud API.
Last updated
