
Automate tasks with Whapi
Simple and intuitive API gateway for WhatsApp.
https://whapi.cloud
Triggers
The trigger is the event that starts the automation.
-
Instantly when receiving a text message
It is triggered every time a user sends a text mmessage to the bot.
-
Instantly when receiving an image
It is triggered every time a user sends an image to the bot.
Actions
The action is what happens automatically, without you having to do anything else.
-
Send a message to a contact
Send a message to a phone number.
-
Send a message to a channel
Send a message to an specific channel.
-
Send a message to a group
Send a message to an specific group.
-
Ask user
Send a message, an image/video/document or both to a specific chat and wait for the user's response before continuing.
- The following tags are currently supported in the messages: b, strong , i, em, u, ins, s, strike, del, a, code, pre.
- You can include URL Buttons and Callback Buttons in posts.
Common Errors
Error 429 (Too Many Requests) - Soft Ban on Whapi
This error indicates that your WhatsApp number has been temporarily restricted (soft ban) due to unusual activity. You may still be able to use your account partially—such as reading or replying to messages—but you might not be able to send new messages or create groups, among other limitations.
To resolve this, follow these steps:
1. **Let the number rest for 24-48 hours.** Stop sending messages or performing the activity you were doing before (such as creating groups).
2. **Reinstall the WhatsApp app and switch accounts.** If you're using WhatsApp Business, log in with the regular WhatsApp app (and vice versa).
3. **Contact WhatsApp support through the app.** Go to *Settings → Help → Contact Us* and request to have your account unblocked, explaining that you haven't violated any rules.
This block is not permanent, but continued excessive use could lead to a permanent ban.