Basic Example

{
  "type": "block_replacement",
  "ref": "sample-ref"
}

Properties

type
string
required
Identifies this as a replacement blockMust be block_replacement
ref
string
required
Reference key to look up in the replacements object
default
undefined
required
Default content to display if the replacement is not foundAccepts: object, array

Usage Notes

  • This element is part of the BlockKit system for building dynamic user interfaces
  • All properties marked as (required) must be included in your JSON structure
  • Optional properties can be omitted and will use their default values when applicable