WhatsApp Business Cloud API - Groups Query API
Copy for LLM View as Markdown Version v23.0 The Groups API gives you simple functions to control groups through their lifecycle. When you create a new group, an invite link is created for inviting participants to the group. Since you cannot manually add participants to the group, simply send a message with your invite link to WhatsApp users who you would like to join the group.Base URL
| https://graph.facebook.com |Endpoints
| GET | // | | POST | // | | DELETE | // |GET //
Retrieve metadata about a single groupRequest Syntax
GET// Select language cURLJavaScriptPythonUser-Agentstring The user agent string identifying the client software making the request. Authorizationstring·required Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token. Path Parameters
Versionstring·required group_idstring·required Group ID Query Parameters
fieldsstring Comma-separated list of fields to return Responses
Retrieve metadata about a single group 200 Group information Content Type: application/json Schema: GroupInfo Show child attributes
GroupInfo
idstring Group ID
messaging_productstring
join_approval_modeOne of “approval_required”, “auto_approve” Join approval mode for the group
subjectstring Group subject
descriptionstring Group description
suspendedboolean Returns true if the group has been suspended by WhatsApp
creation_timestampinteger UNIX timestamp in seconds at which the group was created
participantsarray of object List of participants in the group Show child attributes
participants[]object Show child attributes
wa_idstring WhatsApp user ID
total_participant_countinteger Total number of participants in the group, excluding your business Select language cURLJavaScriptPython
POST //
Update the subject, description, and photo of a groupRequest Syntax
POST// Select language cURLJavaScriptPythonUser-Agentstring The user agent string identifying the client software making the request. Authorizationstring·required Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token. Content-TypeOne of “application/json”, “application/x-www-form-urlencoded”, “multipart/form-data”·required Media type of the request body Path Parameters
Versionstring·required group_idstring·required Group ID Request BodyRequired
Content Type: application/json Schema: object Show child attributes
messaging_product”whatsapp”·required
subjectstring The new subject for the group
descriptionstring The new description for the group
profile_picture_filestring Path to an image file for group profile picture Content Type: multipart/form-data Schema: object Show child attributes
messaging_product”whatsapp”
filestring (binary) Image file for group profile picture (JPEG, max 5MB, square format, min 192x192) Responses
Update the subject, description, and photo of a group 200 Group settings updated successfully Select language cURLJavaScriptPython
DELETE //
Delete the group and remove all participants, including the businessRequest Syntax
DELETE// Select language cURLJavaScriptPythonUser-Agentstring The user agent string identifying the client software making the request. Authorizationstring·required Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token. Content-TypeOne of “application/json”, “application/x-www-form-urlencoded”, “multipart/form-data”·required Media type of the request body Path Parameters
Versionstring·required group_idstring·required Group ID Responses
Delete the group and remove all participants, including the business 200 Group deletion successful Content Type: application/json Schema: object Show child attributes
successboolean Select language cURLJavaScriptPython

