Skip to main content
Bot endpoints use WhatsApp bot APIs exposed by the underlying client.
EndpointUse
GET /bot/listFetch bot list and profile data for the connected session.
POST /bot/messageSend a message to Meta AI using an optional persona ID.

Send bot message

curl -X POST http://localhost:1337/bot/message \
  -H "Content-Type: application/json" \
  -H "token: YOUR_TOKEN" \
  -d '{
    "Body": "Write a short reply",
    "PersonaID": ""
  }'
If PersonaID is empty, the code uses its built-in default persona ID.
Treat bot behavior as dependent on WhatsApp availability for the connected account. It may fail if the account does not have bot access.