Conversations

Admin Conversations Get Teams

GET
/admin.conversations.getTeams

Get all the workspaces a given public or private channel is connected to within this Enterprise org.

Authorization

slackAuth admin.conversations:read
AuthorizationBearer <token>

In: header

Scope: admin.conversations:read

Query Parameters

channel_id*string

The channel to determine connected workspaces within the organization for.

cursor?string

Set cursor to next_cursor returned by the previous call to list items in the next page

limit?integer

The maximum number of items to return. Must be between 1 - 1000 both inclusive.

Formatint32

Header Parameters

token*string

Authentication token. Requires scope: admin.conversations:read

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/admin.conversations.getTeams?channel_id=string" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "response_metadata": {    "next_cursor": "string"  },  "team_ids": [    "string"  ]}