Message with Link

Messages of type message can be a link. Add the "link": "https://domain.ext" key value pair to the message object.

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"
}
},
"body": [
{
"type": "message",
"text": "I am a link",
"link": "https://zoom.us"
}
]
}

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"
}
}
}
}
}
}
},
"body": {
"type": "array",
"items": {
"type": "object",
"required": ["type", "text"],
"properties": {
"type": {
"type": "string",
"enum": ["message"]
},
"text": {
"type": "string"
},
"link": {
"type": "string",
"format": "uri"
},
"style": {
"type": "object",
"properties": {
"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.