Versions
Publish
Publishing is creating a version. Sent empty, it checks the draft and puts it live. Any violation refuses it.
Sent with source, it restores that version: the diagram goes back into your draft and is published from there, so the history only ever grows.
Answers the publication, not the version — no id and no Location header yet.
post/bots/{bot_id}/versions
Request
- Base URL: https://api.landbot.io/v0-alpha
- URL: https://api.landbot.io/v0-alpha/bots/{bot_id}/versions
- Auth: one of:
- API key in header Authorization
- API key in cookie sessionid
- HTTP bearer
Request body
Example request
{
"source": {
"version": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}Response
The publication that just happened
Example response
{
"data": {
"published_at": "2026-09-16T09:18:19"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.