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.

Path Parameters

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/bots/{bot_id}/versions/{version_id}
curl https://api.landbot.io/v0-alpha/bots/123e4567-e89b-12d3-a456-426614174000/versions/123e4567-e89b-12d3-a456-426614174000 \
  --header 'Authorization: Token YOUR_AGENT_TOKEN'
{
  "data": {
    "version_id": "123e4567-e89b-12d3-a456-426614174000",
    "bot_id": "123e4567-e89b-12d3-a456-426614174000",
    "name": null,
    "published_at": "2026-09-16T09:18:19",
    "published_by": {
      "id": 1,
      "name": "string"
    },
    "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"
        }
      }
    },
    "channel_version": null
  }
}