List Slack workspaces signed in on this browser
Automatically list Slack workspaces signed in on this browser on slack.com. List the Slack workspaces this browser is signed in to, as Slack's workspace switcher holds them. Each workspace comes back with its name, its id, its domain (for example acme.slack.com), whether it is the one Slack opens by default, and whether this browser still holds a session for it. The domain is what the other Slack scripts take as workspaceDomain, so this answers which workspace a script acts on when none is given. Nothing is marked as read. Fails with a signed-out error when the browser is not signed in to Slack.
Input
None
Output
count requiredworkspaces requiredThe workspaces in the order Slack lists them.
FAQ
Get Slack channel messages
Read a channel's message history by name (e.g. 'social' or '#social') or id (C…). Newest first; pass cursor to paginate, oldest/latest (unix ts) to bound the range. Authors are resolved to display names. Requires login.
List Slack invoices
List Slack billing statements from the workspace's billing history. Returns workspace, total and invoices (date, statement, billId, amount, status, description, pdfUrl) — metadata only. Feed a row's pdfUrl (or billId) to slack.com/download_invoice to fetch that statement's PDF. Requires a workspace billing admin; defaults to the primary workspace, or pass workspaceDomain (e.g. acme.slack.com).
Search Slack messages
Full-text search across the workspace's messages, supporting Slack's modifiers (from:@user, in:#channel, before:/after:date, "exact phrase"). One page per call. Requires login.
