Sign in

Get filtered user stats

documented

Return a count of users matching provided filters (e.g., team, channel, roles).

GET /api/v4/users/stats/filteredUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.mattermost.com/api/v4/users/stats/filtered?in_team={{in_team}}&in_channel={{in_channel}}&include_deleted={{include_deleted}}&include_bots={{include_bots}}&roles={{roles}}&team_roles={{team_roles}}&channel_roles={{channel_roles}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
Get filtered user stats · Mattermost · OpenIntegrations