Interaction payloads are sent to your app when an end-user interacts with one of a range of Slack app features.
The resulting payload can have different structures depending on the source. All those structures will have a type
field that indicates the source of the interaction.
Read the individual reference guides to see the breakdown of each type
of payload:
Payload type | Description |
---|---|
block_actions |
Received when a user clicks a Block Kit interactive component. |
message_actions |
Received when an app action in the message menu is used. |
view_closed |
Received when a modal is canceled. |
view_submission |
Received when a modal is submitted. |
Read our guide to handling payloads from user interactions to learn how your app should process and respond to these payloads.