Import a Slack export batch
import_slack_export_batchocmgr slack-export importPOST /v1/connections/{id}/slack-exportADMIN
Parse up to 250 Slack export user or public-channel message records and durably queue metadata-only history. Message text is discarded before storage. Retry with the same batch ID and observation time.
Parameters
idstring (uuid)REQUIRED
The Slack export connection.
batchIdstringREQUIRED
SHA-256 of archive, entry and batch position; stable across retries.
observedAtstring (date-time)REQUIRED
Stable archive observation time.
kind"users" | "messages"REQUIRED
usersCompletetrue
Set on the last users batch of an export. Message batches are refused until it has been accepted, because only users.json says which accounts are bots.
channelobject
idstringup to 64 charsREQUIRED
namestringup to 100 charsREQUIRED
recordsobject[]up to 250REQUIRED
Empty only on a users batch that sets usersComplete: an export whose users.json lists nobody.
CLI flags
--batch <file>REQUIRED
JSON batch with batchId, observedAt, kind and records; see the Slack export guide
list_piecesget_enrichment_usagelist_inboundget_inbound_eventreplay_inboundpush_source_dataimport_csv_batchpropose_csv_mappingrun_backfillverify_connectionverify_connectionscreate_connectionconnect_connectionprepare_connection_webhookget_connectionupdate_connectionlist_connectionsget_connection_statslist_connection_runs