data label for
workspace data. Bind https://slack.com to /api/conversations.list for
channels or /api/conversations.history for messages. Use a separate mount for each feed and conversation.
A page accepts up to 36 KiB. Pagination sends Slack’s opaque
response_metadata.next_cursor back to the same endpoint. Each completed
walk restarts on the next poll. Slack’s retention, visibility and rate limits
apply. Use a history token whose app tier supports paginated polling.
If Slack rejects a retained cursor as invalid, review the gap in source health
and reset the walk.
An explicit message tombstone removes its key. Missing messages or channels
stay published. The feed covers conversation history and channel metadata.
Thread replies and attachment Files are separate resources.
Slack Conversations API
Write messages
Follow the native write mount guide. Use modeslack.messages.create-update-delete with providerWriter, endpoint https://slack.com and pass the writer in receivers.writers under that mode. Seal a workspace token with chat:write and access to the intended conversations. Create accepts a chat.postMessage object including channel. For update and delete pass the exact CHANNEL_ID:MESSAGE_TS returned in evidence. The writer sets the channel and timestamp from that key. HTTP 200 must also carry ok: true, channel and ts. The token can update or delete only messages permitted by Slack’s authorship rules.
The writer records evidence under the mount’s label. Commands take up to 24 KiB of JSON and carry no read cursor.
Provider write API
Users, threads, reactions and file metadata
Bind oneproviderEndpoint and REST mount per collection at
https://slack.com. Use a sealed Slack bearer credential and one protected
data label for the receiver and the mount.
All modes cap responses at 36 KiB. Users and files accept up to 100 rows.
Threads accept 15 messages. Reactions accept up to 100 reaction names for
the selected message and carry no cursor. Slack may omit some reacting
user IDs. An explicit thread tombstone withdraws that message. Missing
records remain published. User and thread cursors continue until Slack
ends the sweep or reports an invalid cursor. File page numbers follow
Slack’s stated total and restart at the end.
Users ·
Threads ·
Reactions ·
Files
Webhook-assisted polling
Signed Events API notifications wake the installed Slack channel or message feed. Answers signed URL-verification challenges. Bind the REST mount to a protecteddata label and follow the
verified wake route setup
to seal the signing secret and register the subscription for this source.
Capture a Slack File
On the channel-files mount, pass asreceivers.slackContent a receiver bound with
slackFileContentReceiver(auth, data) from @bijectionhq/app-rest.
Seal a bearer token with files:read for the same workspace and bind
the protected label. As the mount’s operator, call files.requestProductivity and
files.getProductivity at that label, using the published Slack file ID.
Capture covers non-editable hosted uploads up to 8 MiB and permits four
pending requests per mount. The driver checks the ID, creation time,
size and private download URL before and after transfer. It sends the
credential only to the Slack API and the exact files.slack.com file
route for that ID. The driver accepts exact ranges under a strong
validator or one complete response of the checked size. Capture has no
read cursor. A changed published File identity or explicit row withdrawal
retires the prior File. Remote files, editable snippets and redirects
are outside this capture contract.
Slack file downloads