Versions

Get a published version

One publication: the diagram as it went out, and a snapshot of the channel it went out on.

To bring it back, publish it — POST /bots/{bot_id}/versions with this version as source.

get/bots/{bot_id}/versions/{version_id}

Request

  • Base URL: https://api.landbot.io/v0-alpha
  • URL: https://api.landbot.io/v0-alpha/bots/{bot_id}/versions/{version_id}
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie sessionid
    • HTTP bearer

Response

The version

Example response

{
  "data": {
    "published_at": "2026-09-16T09:18:19",
    "diagram": {
      "nodes": {
        "hidden": {
          "id": "hidden",
          "path": "hidden",
          "template": "hidden",
          "params": {}
        },
        "welcome": {
          "id": "welcome",
          "path": "welcome",
          "template": "var_text",
          "params": {
            "version": 3,
            "text": "Hi! What is your name?",
            "destination": "name"
          }
        }
      },
      "connections": {
        "hidden.success--welcome": {
          "id": "hidden.success--welcome",
          "type": "success",
          "sourcePath": "hidden",
          "targetPath": "welcome"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.