Not directly to the file, but in theory you could ...
# 💻developers
f
Not directly to the file, but in theory you could use the Get Bot API endpoint and use its response to call the Create Bot endpoint with the same bot properties and then pass the bot's code to the Update Bot API endpoint to publish it. Reference: https://docs.botpress.cloud/docs/api-documentation/#bot