Message with Sub Header

New: This message type now supports Markdown and @mentions!

The sub header (sub_head) is smaller text that appears under the header (head) of a message.

To see the style options reference the

Full JSON Schemabelow.

Example

Example

Example’s JSON

{
"head": {
"text": "I am a header",
"sub_head": {
"text": "I am a sub header"
}
}
}

Full JSON Schema

{
"type": "object",
"properties": {
"head": {
"type": "object",
"required": ["text"],
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"color": {
"type": "string",
"format": "Hex"
},
"bold": {
"type": "boolean"
},
"italic": {
"type": "boolean"
}
}
},
"sub_head": {
"type": "object",
"required": ["text"],
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"color": {
"type": "string",
"format": "Hex"
},
"bold": {
"type": "boolean"
},
"italic": {
"type": "boolean"
}
}
}
}
}
}
}
}
}

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.