Help Desk
  • Getting Started
    • 🙌Welcome to Whapi.Cloud
    • 💰Pricing
    • ☕Partners
    • 🚀Getting started
    • 👨‍💻API Docs
      • Developer hubs
      • Swagger environment
      • Postman collection
  • Sending
    • Introduction
    • Send text message
      • Whatsapp API send message PHP
      • Whatsapp API send message Python
      • Whatsapp API send message Node JS
      • Whatsapp API send message С#
      • Whatsapp API send message Java
      • API integration with VB6
      • Whatsapp API send message GO (Golang)
    • Send video, audio, image, document
    • Send Group message
    • Send post to WhatsApp Channel
    • Send message with Buttons
    • Send Emoji
    • Overview of other methods for sending
      • Send Voice message
      • Send contact (vCard)
      • Send message reactions
  • Receiving
    • Introduction
    • Webhooks
      • Our webhooks (Tracked events)
      • Where to Find the Webhook URL?
      • Set the webhook link to the channel
      • Detailed webhook settings
      • How to check the webhook?
      • Incoming webhooks format
        • Incoming message
        • Sent message
        • Chats
        • Groups
        • Account and device status
        • Other
          • Presences
          • Views of stories (statuses)
          • Story (status) from your contacts
          • Calls
      • Receive messages
        • Receive WhatsApp messages using PHP
        • Receive WhatsApp messages using Node js
        • Receive WhatsApp messages using Python
    • HTTP API
      • Retrieve a Specific User's Chat History
      • Get a full-size picture in the response
      • Get order items
      • Get a profile picture of a chat or user
    • File expiration period
  • Groups
    • Send Group message
      • Mentioning all participants in a WhatsApp group
    • Get list of group members
    • Add new member to Group
  • Channels
    • Send post to WhatsApp Channel
    • Get messages from Channels
    • Get votes from polls in the Channel
  • Communities
    • Introduction
    • Create a community
    • Add a member to a community
    • Send announcement
    • Get info on community participants
    • Add a group / Exclude a group from the community
  • Account
    • Setting "Auto Download"
    • Customizable Webhook Headers
    • How to find out the IP channel
    • How to Delete a Channel
    • Add Business Info to Invoice
  • Source code
    • WhatsApp ChatBot
      • WhatsApp Python Bot
      • WhatsApp PHP Bot
      • WhatsApp Node JS Bot
      • WhatsApp Java Bot
    • WhatsApp API Google Sheets
    • WhatsApp Phone Number Checker
    • Request Distributor (Balancer)
  • FAQ
    • Chat ID. What is it and how to get it?
    • Current status of Buttons on WhatsApp
    • How to send a paragraph (line break)
    • Inactive Links in WhatsApp Messages
    • WhatsApp Text Formatting
    • Checking if the number has Whatsapp
    • Specifics of sending messages to numbers of different countries
    • Why aren't participants being added to the group?
  • Does WhatsApp API Work with the Phone Turned Off?
  • Hints
    • Android Emulators
    • Virtual Numbers for WhatsApp
    • How to use polls as buttons?
    • How to check who blocked you in Whatsapp?
    • Setting up a WhatsApp proxy
  • Integrations
    • Make.com
      • Ready-Made Scenarios
        • WhatsApp & Whisper API: Voice-to-Text Integration
        • Automated WhatsApp Group Message Forwarding in Make.com
      • Request Scenario Setup
    • Pabbly Connect
    • Google Contacts
    • DialogFlow
    • n8n
  • Tools
    • WhatsApp Number Checker
    • Automatic warm-up module
    • WhatsApp Activity Safety Meter
    • Residential Proxies from Whapi.Cloud
  • Troubleshooting
    • Couldn't Link Device – WhatsApp QR Code or Pairing Code Fails
    • Channel status “SYNC_ERROR”
    • Not getting a READ status on webhook
    • 429 (Too Many Requests) - Soft Ban
    • “Waiting for this message. This may take a while” – WhatsApp Message Error
    • Missing push notifications after connecting to API
  • Blocking
    • How to not get Banned?
    • How to do mailings without the risk of being blocked?
    • If My Number Is Banned, Can It Be Restored?
    • Unlocking Your WhatsApp Number
    • Connecting a New WhatsApp Number After a Ban: Steps and Recommendations
    • Warming Up New Phone Numbers for WhatsApp API
  • Partner Documentation
    • Introduction
    • Partner Dashboard Overview
    • Partner Program Guidelines
      • Workflow: Step-by-Step
      • Billing for Partners
      • Allocating Days to Customer Channels: Best Practices & Guide
      • Interface for channel management
    • Partner Documentation
      • Channel creation
      • Changing channel mode
      • Channel extension
      • Channel deletion
      • Getting the list of channels
      • Notices of end of days on balance
Powered by GitBook
On this page
  • Concept of Communities
  • Important aspects of the API Community
  • Briefly

Was this helpful?

  1. Communities

Introduction

WhatsApp API for Community Management

PreviousGet votes from polls in the ChannelNextCreate a community

Last updated 6 months ago

Was this helpful?

Concept of Communities

Communities on WhatsApp enables you to organize and bring related groups together under one umbrella using a structure that works best for you. You can create a community for anything—your school, your neighborhood, your nonprofit, or your local club.

To illustrate how the community structure works, take a look at the image below:

Important details to consider:

  1. When you create a community, a default group (the Announcements group) is created with the same name as the community.

  2. This group represents your entire community and is used to send messages to all members.

  3. All members of each new group associated with the community will be members of the default group (announcement group).

  4. When you unlink a group, all of its members are removed from the default group (announcement group).

As you can see above, every community has an "Announcements Group" where only administrators can post. Use it when you want to send something to the whole community.

Up to and including 2000 members can be added to the community and its announcement group.

Important aspects of the API Community

When you create a Community, WhatsApp creates two identical groups with the same name. This is not visible visually, however technically it looks like this.

One group is the “Announcements group”, which is the main group for announcements. The second group, however, is purely a technical binder and has nothing to do with members or messages that can be sent to announcements. This can cause confusion when working through the API, as when requesting Get Groups, you will see both groups!

But we've made sure it's convenient and clear for you.

What does this mean?

Let's look at an example. Here is the response when creating a community (this is an abridged version, for the full version see the relevant section):

{
  ,
  "name": "A new community of scientists",
}

To send announcements you need to find the second group, which is the default “Announcements group”. Now let's see what we have among the groups (this is an abridged version, for the full version see the relevant section):

{
  "groups": [
    {
      
      "name": "A new community of scientists",
      "type": "group",
    },
    {
      
      "name": "A new community of scientists",
      "type": "group",
      ,
      
    },
}

Thus we see two identical groups with the same name. However, you will need a second group to write the ad.

Markers that you can use to automatically determine which group you need to use

  1. Find a group that has your community ID in parameter "linkedParent";

  2. Find a group that has the parameter “announcements”: true;

  3. Find groups with the same name as your community, excluding the community ID you received in the response;

  4. Send the announcement from your phone and see the chat_id in the webhook you receive.

Briefly

  1. Use the community ID to manage the community;

  2. To send announcements, use a group with the same name as the community but with the “announcements” parameter.

We are looking for options to simplify this process for you and will be sure to implement a more logical and simple flow of interaction with Communities.

If you still have any questions, feel free to contact our support. We will help you!

After , you will get a unique Community ID (following the format of the group ID) in the response. You will only need this ID to manage the community and its members, but you will need a different ID to post ads.

creating a Community
How Communities work in WhatsApp