Slack channel activation

List Slack channels available to add to monitoring

Changed on
get/workspaces/{workspaceSlug}/slack/channels/candidates

Request

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

Path parameters

workspaceSlugstring required

Workspace slug

Response

OK

archivedboolean

Whether Slack reports the channel as archived

channelNamestring required

Current Slack channel name

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

Existing Hephaestus monitoring state, if already allow-listed

memberboolean

Whether the app bot is already a member

privateChannelboolean

Whether this is a private channel

slackChannelIdstring required

Stable Slack channel id

Changes

    • breaking

      for the path request parameter workspaceSlug, the minLength was increased from 0 to 3

    • warning

      for the path request parameter workspaceSlug, the maxLength was set to 51

    • warning

      changed the pattern of the path request parameter workspaceSlug from ^[a-z0-9][a-z0-9-]{2,50}$ to ^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$