Slack unofficial API: unpin a message
TL;DR
About
Developers looking for a Slack API to unpin a Slack message usually find there is none they can use: it needs no Slack app or token, only your signed-in browser. This script fills that gap. It works like an API endpoint — one call with typed arguments, a JSON response — but runs through a real browser, yours or a hosted one, so it needs no Slack developer account, API key or app review.
Input
ts requiredThe message's ts.
channel requiredChannel name/#name or id (C…).
workspaceDomain optionalWorkspace host, e.g. acme.slack.com. Defaults to the active workspace.
Output
ok requiredts requiredchannel requiredResolved channel id.
account_used requiredWorkspace host the action ran against, read back from the session.
already_absent requiredTrue when the message was already not pinned before this run, so nothing changed.
verified_on_page requiredTrue when a re-read of the channel's pins confirms the message is no longer pinned.
channel_name optionalResolved channel name, when Slack reports one.
Example output
Shape only: placeholder values generated from the output schema, not a real run.
{
"ok": true,
"ts": "…",
"channel": "…",
"account_used": "…",
"channel_name": "…",
"already_absent": true,
"verified_on_page": true
}