Platforms

Clone Platform Example

Clone a platform example

post
/v1/platform/example/{exampleId}/clone

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

exampleIdstring* Required

The ID (slug) of the example 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.platform.example.clone(

exampleId,
{}
)
{
"resources":"object"
}
The example was cloned successfully