x Zalo User icon

x Zalo User

Interact with Zalo User API

Group → Create Group

AI-generated

Summary

Create a new group in Zalo with a specified name and an optional list of user IDs as members.

Inputs

  • Group Name (required) — The name for the new group.
  • User IDs — A comma-separated list of user IDs to add as initial members of the group.

Output shape

a single JSON object representing the created group, including a generated groupId, the groupName, an array of member user IDs, and a timestamp of creation.

If user IDs are provided, they are split by commas and trimmed. The output always includes success status and timestamps.

Examples

Example 1: Creating a group named 'Team Alpha' with users 'user123,user456'

Set 'Group Name' to 'Team Alpha', and 'User IDs' to 'user123,user456'. The output includes 'groupId', 'groupName', and a 'members' array with these user IDs.

Discussion