Blueprints
Clone Blueprint
Clone a blueprint
post
/v1/blueprint/{blueprintId}/clone
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
blueprintIdstring* Required
The ID of the blueprint to clone
Request Body * Required
Request Body Schema: application/json
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.blueprint.clone(
blueprintId,{})
{"id":"string"}
The blueprint was cloned successfully