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

List workspace owners

Lists owners 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.
team_idstringrequired
The identifier of the workspace whose owners to list.
limitintegeroptional
The maximum number of owners to return. Must be between 1 and 1000 inclusive.
cursorstringoptional
The `next_cursor` value returned by the previous response to retrieve the next page.

2 status codes
200Returns a successful response containing the workspace owner 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 owners you want to list. When supplied, limit must be between 1 and 1000 inclusive, while cursor must contain the next_cursor value from the previous response.