Slack · Capability

Slack User Groups API — Lists

Slack User Groups API — Lists. 2 operations. Lead operation: Slack Get User Groups List. Self-contained Naftiko capability covering one Slack business surface.

Run with Naftiko SlackLists

What You Can Do

GET
Getusergroupslist — Slack Get User Groups List
/v1/usergroups-list
GET
Getusergroupsuserslist — Slack Get User Groups Users List
/v1/usergroups-users-list

MCP Tools

slack-get-user-groups-list

Slack Get User Groups List

read-only idempotent
slack-get-user-groups-users

Slack Get User Groups Users List

read-only idempotent

Capability Spec

usergroups-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Slack User Groups API — Lists
  description: 'Slack User Groups API — Lists. 2 operations. Lead operation: Slack Get User Groups List. Self-contained Naftiko
    capability covering one Slack business surface.'
  tags:
  - Slack
  - Lists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SLACK_API_KEY: SLACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: usergroups-lists
    baseUri: ''
    description: Slack User Groups API — Lists business capability. Self-contained, no shared references.
    resources:
    - name: usergroups.list
      path: /usergroups.list
      operations:
      - name: getusergroupslist
        method: GET
        description: Slack Get User Groups List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: include_users
          in: query
          type: boolean
          description: Include the list of users for each User Group.
        - name: token
          in: query
          type: string
          description: 'Authentication token. Requires scope: `usergroups:read`'
          required: true
        - name: include_count
          in: query
          type: boolean
          description: Include the number of users in each User Group.
        - name: include_disabled
          in: query
          type: boolean
          description: Include disabled User Groups.
    - name: usergroups.users.list
      path: /usergroups.users.list
      operations:
      - name: getusergroupsuserslist
        method: GET
        description: Slack Get User Groups Users List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: query
          type: string
          description: 'Authentication token. Requires scope: `usergroups:read`'
          required: true
        - name: include_disabled
          in: query
          type: boolean
          description: Allow results that involve disabled User Groups.
        - name: usergroup
          in: query
          type: string
          description: The encoded ID of the User Group to update.
          required: true
  exposes:
  - type: rest
    namespace: usergroups-lists-rest
    port: 8080
    description: REST adapter for Slack User Groups API — Lists. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/usergroups-list
      name: usergroups-list
      description: REST surface for usergroups.list.
      operations:
      - method: GET
        name: getusergroupslist
        description: Slack Get User Groups List
        call: usergroups-lists.getusergroupslist
        with:
          include_users: rest.include_users
          token: rest.token
          include_count: rest.include_count
          include_disabled: rest.include_disabled
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/usergroups-users-list
      name: usergroups-users-list
      description: REST surface for usergroups.users.list.
      operations:
      - method: GET
        name: getusergroupsuserslist
        description: Slack Get User Groups Users List
        call: usergroups-lists.getusergroupsuserslist
        with:
          token: rest.token
          include_disabled: rest.include_disabled
          usergroup: rest.usergroup
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usergroups-lists-mcp
    port: 9090
    transport: http
    description: MCP adapter for Slack User Groups API — Lists. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: slack-get-user-groups-list
      description: Slack Get User Groups List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usergroups-lists.getusergroupslist
      with:
        include_users: tools.include_users
        token: tools.token
        include_count: tools.include_count
        include_disabled: tools.include_disabled
      outputParameters:
      - type: object
        mapping: $.
    - name: slack-get-user-groups-users
      description: Slack Get User Groups Users List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usergroups-lists.getusergroupsuserslist
      with:
        token: tools.token
        include_disabled: tools.include_disabled
        usergroup: tools.usergroup
      outputParameters:
      - type: object
        mapping: $.