Get a channel's draft design

​

The test copy: what a design write with autosave: true changed and the live channel does not carry yet. It equals the live channel while merged is true.

Needs the permission to create channels.

Path Parameters

  • The channel's integer id, which GET /v2/channels/ carries beside its uuid.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/channels/{channel_id}/copy/
curl https://api.landbot.io/v1/channels/1/copy/ \
  --cookie 'sessionid=YOUR_SECRET_TOKEN'
{
  "success": true,
  "channel": {
    "id": 1,
    "uuid": "123e4567-e89b-12d3-a456-426614174000",
    "name": "string",
    "type": "string",
    "merged": true,
    "token": "string",
    "config_url": "string",
    "design": {
      "additionalProperty": "anything"
    },
    "style": "string",
    "head": "string",
    "foot": "string",
    "logo": "string",
    "favicon": "string",
    "brand_name": "string",
    "status": "string",
    "tagline": "string",
    "url": "string",
    "welcome": [
      {
        "additionalProperty": "anything"
      }
    ],
    "persistent_menu": [
      {
        "additionalProperty": "anything"
      }
    ],
    "conditional_proactives": {
      "additionalProperty": "anything"
    },
    "launcher_config": {
      "additionalProperty": "anything"
    },
    "typing_options": {
      "additionalProperty": "anything"
    },
    "hidden_fields": {
      "additionalProperty": "anything"
    },
    "text": {
      "additionalProperty": "anything"
    },
    "version": "3.0.0",
    "additionalProperty": "anything"
  }
}