Trigger Integrations
Fetch Trigger Integration
Fetch a triggerIntegration
get
/v1/integration/trigger/{triggerIntegrationId}/fetch
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
triggerIntegrationIdstring* Required
The ID of the Trigger integration to retrieve
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.integration.trigger.fetch(
triggerIntegrationId)
{"name":"string","description":"string","meta":"object","id":"string","createdAt":"number","updatedAt":"number","secret":"string","authenticate":"boolean","triggerSchedule":"string","sessionDuration":"number","botId":"string"}
The Trigger integration was retrieved successfully