Message with Attachment


Messages of type attachments can be used to display an image with a link to download/view an attachment or website. The attachment’s extension and size can also be included.

The ext key is used to display a file type icon so users know what type of file the attachment is. Valid values are defined by the operating system.

The size key is used to display the size of the file. Set the size in bytes, for example 1 MB would be "size": 1000000.

To see the style options reference the Full JSON Schema below.

Example
Example

Example’s JSON

{
  "head": {
    "text": "I am a header",
    "sub_head": {
      "text": "I am a sub header"
    }
  },
  "body": [
    {
      "type": "attachments",
      "resource_url": "https://zoom.us",
      "img_url": "https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png",
      "information": {
        "title": {
          "text": "I am an attachment title"
        },
        "description": {
          "text": "I am an attachment description"
        }
      }
    }
  ]
}
Full JSON Schema
expand to see details
object
head
object
body
array[object]

Need Support?

The first place to look for help is on our Developer Forum, where Zoom Marketplace Developers can ask questions for public answers.

If you can’t find the answer in the Developer Forum or your request requires sensitive information to be relayed, please email us at developersupport@zoom.us.