Blueprint Resourcess

Import Blueprint Resources

Import resources into an existing blueprint

post
/v1/blueprint/{blueprintId}/resource/import

Description

Caller-provided resource ids are ignored and replaced with platform-generated ids.

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

blueprintIdstring* Required

Request Body * Required

Request Body Schema: application/json

resourceobject

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.blueprint.resource.import(

blueprintId,
{
"resource":"object"
}
)