Actions52
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
- Account Actions
- Tool Actions
Get → Get All Groups
AI-generatedSummary
Retrieve a list of Zalo groups associated with the logged-in account, optionally including group names by fetching additional group info.
Inputs
- Limit — Maximum number of groups to return (default 50).
- Include Group Names — Boolean flag to also fetch group names by calling getGroupInfo for up to 50 groups per batch (default true). When enabled, returns an enriched groupList including group IDs and names.
Output shape
An object containing at least a list of group IDs. If Include Group Names is true, group names are included in the groupList.
The API getAllGroups natively returns only group IDs. Enabling Include Group Names triggers additional batched calls (50 groups per batch) to fetch group names. The returned data structure contains a normalized object with groups, preventing null or empty spreads.
Examples
Example 1: Fetch up to 30 groups with their names included to display friendly titles in a workflow.
Set Limit to 30 and toggle Include Group Names to true.