Sign in

Get Users in Role

documented

List users belonging to a given role.

GET /api/v1/roles.getUsersInRoleUser Managementno 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://rocket.chat/api/v1/roles.getUsersInRole?role={{$role}}&roomId={{$roomId}}&offset={{$offset}}&count={{$count}}" \
  -X GET \
  -H "X-User-Id: {{ROCKET_USER_ID}}" \
  -H "X-Auth-Token: {{ROCKET_AUTH_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
Get Users in Role · Rocket.Chat · OpenIntegrations