> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get In-App Step Stats

> Engagement counts for one in-app sequence step

Returns how many contacts got an item from an in-app sequence step, and how many of those items were displayed, clicked and dismissed (each counted once per item). Displayed, clicked and dismissed depend on your app [reporting events](./record-event). Requires the `sequences:read` scope.

## Request

<ParamField path="stepId" type="string" required>
  The step's node ID from [Get Sequence](../sequences/get).
</ParamField>

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/in-app/steps/node_321/stats" \
  --header "Authorization: Bearer $SEQUENZY_API_KEY"
```

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "stepId": "node_321",
    "sequenceId": "seq_789",
    "stats": {
      "created": 1240,
      "displayed": 1012,
      "clicked": 187,
      "dismissed": 640
    }
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "API key is missing required scope: sequences:read"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "In-app step not found"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.