Skip to content
Home

Create chatbot

Create a new chatbot programmatically. It will be automatically assigned to the project associated with your API key.

POST/chatbots

Body

namestringrequired

The name of your new chatbot.

settingsobject

Initial configuration object for your bot, such as theme and prompt details. Leave blank for defaults.

Headers

Authorizationstringrequired

Your API Key formatted as Bearer sk_live_…

dataobject

The newly created chatbot object.

idstring

The unique UUID identifier of the chatbot.

namestring

The name of the chatbot.

settingsobject

Configuration object containing theme and prompt details.

is_activeboolean

Whether the chatbot is currently enabled and active.

created_atstring

The ISO 8601 timestamp of when the chatbot was created.

Terminal window
curl -X POST https://app.picobot.dev/api/chatbots \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"name": "My New Bot", "settings": {"theme": "dark"}}'
{
"data": {
"id": "91981020-f783-4544-ad96-39857ac589cb",
"name": "My New Bot",
"settings": {
"theme": "dark"
},
"is_active": true,
"created_at": "2026-06-19T21:21:06.572Z"
}
}