Unitalk Slack icon

Unitalk Slack

Consume Slack API via Unitalk

User Group → Get Many

AI-generated

Summary

Retrieve multiple Slack User Groups with configurable options to include user counts, disabled groups, and user lists.

Inputs

  • Return All — Boolean flag to return all user groups or limit the number of results.
  • Limit — Maximum number of user groups to return when 'Return All' is false; must be between 1 and 500.
  • Options — Additional settings to customize the returned data, including whether to include user counts, disabled user groups, and lists of users for each group.

Output shape

A list of user group objects, each optionally containing count and user list fields as specified by options.

If 'Return All' is true, all user groups are fetched regardless of 'Limit'. Otherwise, up to 'Limit' user groups are returned. The options default to including counts, disabled groups, and users unless explicitly disabled.

Examples

Example 1: Fetch all user groups including user counts and lists

Set 'Return All' to true and leave options at defaults.

Example 2: Fetch up to 100 active user groups without user details

Set 'Return All' to false, 'Limit' to 100, and disable 'Include Users' in options.

Links

Discussion