Slack whoami (signed-in account)
Report which Slack account this browser is signed in as: the user's name, email, user id and the active workspace. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Slack scripts.
Input
None
Output
evidence requiredloggedIn requiredname optionalteam optionalemail optionalteamId optionaluserId optionalteamUrl optionalFAQ
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.
Slack unofficial API: list your Slack invoices and billing statements
An unofficial Slack API for billing invoices. List Slack billing statements from the workspace's admin 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.
