Skip to content

Displays small, secondary text and images — who, when, where — under other content.

Type context
Available in Messages, Modals, Home tab
Compatible block elements Image element
Field Type Description Required?
type String The type of block. For a context block, type is always context. Required
elements Object[] An array of image elements and text objects. Maximum of 10 items. Required
block_id String A unique identifier for the block. Maximum length is 255 characters. It must be unique within the message or view — a duplicate is replaced and reported as a warning. Optional

Ticket details — how it renders in Repzo Chat

{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*#4821* Card reader not connecting after update"
}
},
{
"type": "context",
"elements": [
{
"type": "image",
"image_url": "https://picsum.photos/id/20/64/64",
"alt_text": "Customer portal"
},
{
"type": "mrkdwn",
"text": "Opened via *Customer portal*"
},
{
"type": "mrkdwn",
"text": "Priority: *High*"
},
{
"type": "plain_text",
"text": "Updated 5 minutes ago"
}
]
}
]
}