Slack channel activation

Allow-list a Slack channel (lands in PENDING; idempotent on the natural key)

post/workspaces/{workspaceSlug}/slack/channels

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/slack/channels
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

Request body

channelNamestring

Optional human-readable channel name to store alongside the id

slackChannelIdstring required

Slack public/private channel id (stable C… or G… id)

Response

OK

channelNamestring

Human-readable channel name, if known

consentAnnouncedAtstring date-time

When the in-channel consent announcement was posted (stamped on first activation)

consentState'PENDING' | 'ACTIVE' | 'PAUSED' | 'REVOKED' required

Current per-channel consent lifecycle state

createdAtstring date-time required

When the channel was first discovered / allow-listed

idinteger required

Internal allow-list row id

optedOutMemberCountinteger required

Number of workspace members who have opted out of ingestion (workspace-wide)

slackChannelIdstring required

Slack channel id (stable C…/G… id; the natural key)

slackTeamIdstring required

Slack team (workspace) id the channel belongs to

Changes

No recorded changes to this operation across all 1 revision of this API.