Sample - Slack Web API
GET/admin.teams.admins.list

List workspace administrators

Lists administrators for a specified workspace. Provide team_id to select the workspace, and use cursor and limit to control pagination and page size. Authenticate with a token that has the admin.teams:read scope.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
tokenstringrequired
Authentication token with the `admin.teams:read` scope.
limitintegeroptional
The maximum number of administrators to return.
cursorstringoptional
The `next_cursor` value returned by the previous response to retrieve the next page.
team_idstringrequired
The identifier of the workspace whose administrators to list.

2 status codes
200Returns a successful response containing the workspace administrator results with `ok` set to true.
okbooleanrequired
Allowed:true
defaultReturns the standard failure response with `ok` set to false.
okbooleanrequired
Allowed:false

Error handling

token must carry the admin.teams:read scope, and team_id must identify the workspace whose administrators you want to list. When supplied, cursor must be the next_cursor value from the previous response; limit controls the maximum number of items returned.