---
title: "Interaction payloads"
summary: "Interaction payloads are sent to your app when an end user interacts with one of a range of Slack app features."
url: "https://docs.slack.dev/reference/interaction-payloads"
type: "reference"
---

Source: https://docs.slack.dev/reference/interaction-payloads

# Interaction payloads

Interaction payloads are sent to your app when an end user interacts with one of a range of Slack app features.

The resulting interaction payload can have different structures depending on the source. The structures will have a `type` field that indicates the source of the interaction.

The `interactivity` type includes properties for both context about the `interactor` (i.e., the user) and an `interactivity_pointer`. This type can be input to function as with other attributes: through a Workflow Builder template (e.g., a user who clicked a button) or as an output from a previous step. The only functions allowed to output the `interactivity context` are [Slack functions](https://docs.slack.dev/tools/deno-slack-sdk/guides/creating-slack-functions.md). An example is as follows:

```
{  "interactor": {    "id": "U01AB2CDEFG",    "secret": "AbCdEFghIJklOMno1P2qRStuVwXyZAbcDef3GhijKLM4NoPqRSTuVWXyZaB5CdEfGHIjKLM6NoP7QrSt"  },  "interactivity_pointer": "1234567890123.4567890123456.78a90bc12d3e4f567g89h0i1j23k4l56"}
```

For more details, refer to [interactivity](https://docs.slack.dev/reference/types/interactivity-type.md).

Read the individual reference guides to see the breakdown of each `type` of payload:

Payload type

Description

[`block_actions`](https://docs.slack.dev/reference/interaction-payloads/block_actions-payload.md)

Received when a user clicks a [Block Kit interactive component](https://docs.slack.dev/block-kit.md#making-things-interactive).

[`message_actions`](https://docs.slack.dev/reference/interaction-payloads/shortcuts-interaction-payload.md#examples)

Received when an [app action in the message menu](https://docs.slack.dev/interactivity/implementing-shortcuts.md#messages) is used.

[`view_closed`](https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload.md#view_closed)

Received when a [modal is canceled](https://docs.slack.dev/surfaces/modals.md#interactions).

[`view_submission`](https://docs.slack.dev/reference/interaction-payloads/view-interactions-payload.md#view_submission)

Received when a [modal is submitted](https://docs.slack.dev/surfaces/modals.md#interactions).

Read our guide to [handling payloads from user interactions](https://docs.slack.dev/interactivity/handling-user-interaction.md#payloads) to learn how your app should process and respond to these payloads.
