DocsBuilding AppsInstalling IntercomAPI & Webhook ReferenceCanvas Kit Reference
DocsApp StoreForumBlogYour Apps

Present within...

  • Submit requests for Inbox
  • Submit, Configure, Live Canvas, Open Sheet & Submit Sheet requests for Messenger

Description

The current_canvas object mirrors the same format as the Canvas Object. This will be the canvas that was most recently showing before the request was sent.

Example Object

{
  current_canvas: {
    content: { 
      components : [
        {
          "type": "button",
          "id": "button-1",
          "label": "This canvas showed before I was clicked",
          "action": {
            "type": "submit"
          }
        }
      ]
    }
  }
}