Basic Example

{
  "type": "list_item",
  "text": "Sample listitemblock content",
  "elements": [],
  "replacements": {
    "course": "Introduction to Programming",
    "instructor": "Dr. Smith"
  }
}

Properties

type
string
required
Identifies this as a list item blockMust be list_item
text
string
required
The text content of the list item
elements
array
required
Optional nested block elements
replacements
object
required
Optional key-value pairs for text replacements

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