Platforms
Fetch Platform Example
Fetch a specific platform example with full details
get
/v1/platform/example/{exampleId}/fetch
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
exampleIdstring* Required
The ID (slug) of the example
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.platform.example.fetch(
exampleId)
{"id":"string","name":"string","description":"string","type":"string","config":"object","link":"string","tags":["string"],"createdAt":"number","updatedAt":"number"}The example was fetched successfully