Support Integrations

Update Support Integration

Update a Support integration

post
/v1/integration/support/{supportIntegrationId}/update

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

supportIntegrationIdstring* Required

The ID of the Support integration

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

botIdstring

The ID of the Bot to use

emailstring

The email to use

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.integration.support.update(

supportIntegrationId,
{
"name":"string",
"description":"string",
"meta":"object",
"botId":"string",
"email":"string"
}
)
{
"id":"string"
}
The Support integration was updated successfully