Instagram Integrations
Update Instagram Integration
Update an Instagram integration
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
instagramIntegrationIdstring* Required
The ID of the Instagram integration
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
blueprintIdstring
The ID of the blueprint
botIdstring
The ID of the bot this configuration is using
accessTokenstring
The Instagram integration access token
contactCollectionboolean
Whether to collect contacts
sessionDurationnumber
The session duration (in milliseconds)
attachmentsboolean
Whether the bot supports attachments
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.integration.instagram.update(
instagramIntegrationId,{)"name":"string","description":"string","meta":"object","blueprintId":"string","botId":"string","accessToken":"string","contactCollection":"boolean","sessionDuration":"number",}"attachments":"boolean"
{"id":"string"}