Follow Channel
Start following a WhatsApp channel to receive its updates.
Authentication Required
Login to swap the placeholders with your real Instance ID and Access Token.
Log InNo query parameters required
This endpoint doesn't expect data in the URL.
Best practices
Encourage users to turn on notifications (bell icon) after following.
Do not force-follow users; trust is essential for retention.
The Subscription Model: Following Channels
The /v2/channels/{id}/follow endpoint establishes a subscription relationship between your Wawp instance and a public Channel. This is the programmatic equivalent of pressing the "Follow" button in the WhatsApp app.
🔗 How Subscriptions Work
1. Privacy First
The "Follow" action is designed with privacy at its core.
- Anonymity: The Channel Admin (creator) cannot see your phone number. They only see an increment in their follower count.
- Safety: You cannot be messaged directly by the admin or other followers. The communication is strictly one-way (Admin -> You).
2. The Data Flow
Once you successfully follow a channel:
- Updates: New messages posted by the admin will arrive in your webhook stream (usually under the
messageevent withfrom: "123...@newsletter"). - History: You immediately gain access to the channel's recent history, which you can fetch using
/v2/channels/{id}/messages.
3. Mute Status
By default, following a channel may mute it depending on your account settings.
- Recommendation: If you are building a real-time monitor, follow up this call with
/v2/channels/{id}/unmuteto ensure you receive push notifications for every update.
🤖 Automating Market Intelligence
This endpoint is the cornerstone of "Listening" strategies.
Scenario: The Industry Dashboard
You want to track 50 competing news outlets.
- Ingest: Load a list of Channel JIDs into your database.
- Loop: Iterate through them and call
/follow. - Listen: Set up a webhook listener for
messageevents whereremoteJidends in@newsletter. - Process: When a message comes in, analyze the text/media and display it on your internal dashboard.
Scenario: The Fan Engagement Bot
You run a fan club for a sports team.
- Proxy Follow: Your bot follows the official team channel.
- Relay: When the team posts a "Goal!" update, your bot instantly forwards that text to a private Group Chat of your paying members.
⚠️ Limits & Etiquette
- Follow Limit: A single WhatsApp account can follow up to ~2,000 channels (subject to change by Meta).
- Rate Limiting: Do not follow 100 channels in 1 second. WhatsApp may flag this as "automated behavior" (spam). Use a randomized delay of 5-15 seconds between follows.
- Unfollowing: If you no longer need updates, always use
/v2/channels/{id}/unfollowto clean up your state and respect the network resources.
Request Parameters
Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.
Request Body
Sent as a JSON objectstring | Your unique WhatsApp Instance ID Example: | ||
string | Your API Access Token Example: | ||
string | The unique ID of the channel Example: |
Request Samples
Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.
Example
{
"status": "success",
"message": "Now following the channel"
}Command Palette
Search for a command to run...