1. Canvas Controls
  2. Open Canvas

Canvas Controls

Open Canvas

Explains opening the hosted Webchat canvas programmatically. Useful for presenting rich UI, forms, tables, charts, or embedded content during a chat.

This will automatically open the canvas for the user.

Example Usage

        {
  "platforms": {
    "webchat": {
      "sessionuuid": "~~stub.data._incoming_webchat_data.sessionuuid",
      "webchat_control_event": {
        "action": "page_control",
        "params": {
          "page_action": "open_canvas"
        }
      }
    }
  }
}