Search + K

Command Palette

Search for a command to run...

Sign In

admin_conversations_getTeams

GET /admin.conversations.getTeams
Copy endpoint
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 cursor to next_cursor returned by the previous call to list items in the next page

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: admin.conversations:read

string

Responses

200 application/json

Typical success response

{ ok: DefsOkTrue
type DefsOkTrue = true
;response_metadata?: { next_cursor: string; };team_ids: DefsTeam
type DefsTeam = string
[]
; }
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
type DefsOkFalse = false
; }