GitHub Integrations
Fetch Github Integration
Fetch a githubIntegration
get
/v1/integration/github/{githubIntegrationId}/fetch
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
githubIntegrationIdstring* Required
The ID of the GitHub integration to retrieve
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.integration.github.fetch(
githubIntegrationId)
{"alias":"string","name":"string","description":"string","meta":"object","id":"string","createdAt":"number","updatedAt":"number","botId":"string","blueprintId":"string"}The GitHub integration was retrieved successfully