{
  "args": {
    "channel_id": {
      "desc": "The channel to determine connected workspaces within the organization for.",
      "example": "C12345",
      "required": true
    },
    "cursor": {
      "desc": "Set `cursor` to `next_cursor` returned by the previous call to list items in the next page",
      "example": "5c3e53d5",
      "required": false,
      "type": "string"
    },
    "limit": {
      "default": "100",
      "desc": "The maximum number of items to return. Must be between 1 - 1000 both inclusive.",
      "example": "100",
      "required": false,
      "type": "integer"
    }
  },
  "desc": "Get all the workspaces a given public or private channel is connected to within this Enterprise org.",
  "errors": {
    "channel_not_found": "The channel wasn't found or isn't connected to multiple workspaces.",
    "channel_type_not_supported": "The `channel_id` provided was a DM, MPDM, or the 'general' channel.",
    "could_not_get_teams": "Could not fetch the workspaces that the channel is shared with in this organization.",
    "external_channel_migrating": "The channel is actively being migrated",
    "feature_not_enabled": "The token provided doesn't have access to this method.",
    "invalid_cursor": "The provided cursor wasn't valid.",
    "invalid_limit": "The value passed for `limit` wasn't valid.",
    "restricted_action": "A workspace preference prevents the authenticated user from listing the workspaces connected to a channel.",
    "unsupported_team_type": "This endpoint can only called by Enterprise organizations."
  },
  "rate_limit": {
    "label": "Tier 3: 50+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "user": [
      {
        "name": "admin.conversations:read",
        "url": "https://docs.slack.dev/reference/scopes/admin.conversations.read"
      }
    ]
  }
}

