Message with Multiple Sections

Messages of type section can be used to group the different message types. This is useful when you want to have multiple sidebars with different colors or footers to group your message content.

Inside the sections array you can add your message type.

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": "section",
      "sidebar_color": "#ffffff",
      "sections": [
        {
          "type": "message",
          "text": "I am a message with text"
        }
      ],
      "footer": "I am a footer",
      "footer_icon": "https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png",
      "ts": 1560446471819
    },
    {
      "type": "section",
      "sidebar_color": "#F56416",
      "sections": [
        {
          "type": "message",
          "text": "I am a message with text"
        }
      ],
      "footer": "I am a footer",
      "footer_icon": "https://upload.wikimedia.org/wikipedia/en/thumb/5/58/San_Francisco_Giants_Logo.svg/1200px-San_Francisco_Giants_Logo.svg.png",
      "ts": 1560446471819
    }
  ]
}
Full JSON Schema
expand to see details
object
head
object
body
array[object]

Need help?

The first place to look is on our Developer Forum. If you can't find the answer or your request includes sensitive information, contact Developer Support.