Actions29
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
- Status Actions
Group → Get Group Data
AI-generatedOverview
This node operation retrieves detailed information about a specific WhatsApp group using the Green API. It is useful for scenarios where you need to fetch metadata or current state of a group, such as group name, participants, or settings. For example, it can be used to monitor group membership or to display group details in an application.
Use Case Examples
- Fetch group information by providing the Group ID to get current participants and group settings.
- Use the retrieved group data to update a CRM or notify users about group changes.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group to retrieve data for. Required to specify which group to query. |
| Override Credentials | Optional credentials override for this specific operation, allowing to specify a different instance ID and API token than the default credentials. |
Output
JSON
groupId- The unique identifier of the group.groupName- The name of the group.participants- List of participants in the group.admins- List of group admins.creationDate- Timestamp when the group was created.otherGroupMetadata- Additional metadata about the group returned by the API.
Dependencies
- Green API service requiring instance ID and API token credentials
Troubleshooting
- Ensure the provided Group ID is correct and formatted properly (e.g., 972501234567-1587570015@g.us).
- Verify that the API credentials (instance ID and API token) are valid and have permissions to access group data.
- Check network connectivity to the Green API endpoint.
- Handle API errors gracefully, such as rate limits or invalid group ID errors.
Links
- Green API Get Group Data Documentation - Official documentation for the Get Group Data endpoint of the Green API.