Skip to main content

TypeScript API reference

This is the complete guide to slackblocks' public TypeScript API. Use it to find the factory, input type, or validation error you need while building a message, modal, or home tab.

Most applications start with a factory such as message(), sectionBlock(), or modal(). The interfaces describe their camelCase inputs, while the returned objects use the snake_case fields expected by Slack.