createBot
Create bot
Documentation Index
Fetch the complete documentation index at: https://botpress-add-desk-to-botpress-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Workspace ID
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
Body
Bot metadata
A mapping of states to their definition
Events definition
Subscriptions of the bot
Actions definition
JavaScript code of the bot
Optional name for the bot, if not provided will be auto-generated
1Optional description for the bot
2000Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
Response
Success