admin_conversations_getTeams
GET
/admin.conversations.getTeams https://slack.com/api
Get all the workspaces a given public or private channel is connected to within this Enterprise org.
Parameters
query Query Parameters
| Name | Type |
|---|---|
channel_id
required
The channel to determine connected workspaces within the organization for. | string |
cursor Set | string |
limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. | number |
header Header Parameters
| Name | Type |
|---|---|
token
required
Authentication token. Requires scope: | string |
Responses
200 application/json
Typical success response
{ ok: DefsOkTrue ;response_metadata?: { next_cursor: string; };team_ids: DefsTeam []; }
default application/json
Typical error response
{ error: "feature_not_enabled" | "channel_not_found" | "channel_type_not_supported" | "unsupported_team_type" | "restricted_action" | "could_not_get_teams" | "invalid_cursor" | "invalid_limit";ok: DefsOkFalse ; }