Slack Integrations

Fetch Slack Integration

Fetch a slackIntegration

get
/v1/integration/slack/{slackIntegrationId}/fetch

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

slackIntegrationIdstring* Required

The ID of the Slack integration to retrieve

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.integration.slack.fetch(

slackIntegrationId
)
{
"name":"string",
"description":"string",
"meta":"object",
"id":"string",
"createdAt":"number",
"updatedAt":"number",
"contactCollection":"boolean",
"sessionDuration":"number",
"visibleMessages":"number",
"botId":"string"
}
The Slack integration was retrieved successfully