Create Bot
Create bot
post
/v1/bot/create
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
modelstring
A model definition
backstorystring
The backstory this configuration is using
datasetIdstring
The id of the dataset this configuration is using
skillsetIdstring
The id of the skillset this configuration is using
privacyboolean
The privacy flag for this configuration
moderationboolean
The moderation flag for this configuration
visibilitystring
The bot visibility
curl -X POST "https://api.chatbotkit.com/v1/bot/create" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","model":"string","backstory":"string","datasetId":"string","skillsetId":"string","privacy":"boolean","moderation":"boolean",} EOF"visibility":"string"
{"id":"string"}
The bot was created successfully