List Slack 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).
Input
workspaceDomain optionalWorkspace host to target, e.g. acme.slack.com. Defaults to my.slack.com (primary workspace).
Output
total requiredinvoices requiredworkspace optionalFAQ
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.
Send Slack message
Post a message to a channel or DM, identified by name ('social', '#social'), channel/DM id (C…/D…), or a user (@handle or U…) for a direct message. Pass threadTs to reply inside a thread (with broadcast to also send it to the channel). Returns the new message ts, channel id and permalink. Requires login.
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.
