---
title: "PreviewSlackReport"
method: POST
path: "/textql.rpc.public.playbook.PlaybookService/PreviewSlackReport"
tags: ["PlaybookService"]
---

# PreviewSlackReport

`POST /textql.rpc.public.playbook.PlaybookService/PreviewSlackReport`

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicPlaybookPreviewSlackReportRequest
  - `playbookId` string
  - `cell` TextqlRpcPublicCellsReportCell
    - `subject` string
    - `summary` string
    - `blocks` TextqlRpcPublicReportsReportBlock[]
      - union
        - object
          - `card` TextqlRpcPublicReportsCardBlock, required
            - `blocks` TextqlRpcPublicReportsReportBlock[]
        - object
          - `divider` TextqlRpcPublicReportsDividerBlock, required
        - object
          - `hero` TextqlRpcPublicReportsHeroBlock, required
            - `imageUrl` string
            - `imageAlt` string, nullable
        - object
          - `image` TextqlRpcPublicReportsImageBlock, required
            - `imageUrl` string
            - `imageAlt` string, nullable
            - `variant` 'IMAGE_VARIANT_CIRCULAR' | 'IMAGE_VARIANT_ROUNDED' | 'IMAGE_VARIANT_PILL' | 'IMAGE_VARIANT_NONE'
        - object
          - `imageText` TextqlRpcPublicReportsImageTextBlock, required
            - `imageUrl` string
            - `imageAlt` string, nullable
            - `variant` 'IMAGE_VARIANT_CIRCULAR' | 'IMAGE_VARIANT_ROUNDED' | 'IMAGE_VARIANT_PILL' | 'IMAGE_VARIANT_NONE'
            - `heading` string, nullable
            - `content` string, nullable
        - object
          - `list` TextqlRpcPublicReportsListBlock, required
            - `heading` string, nullable
            - `items` string[]
        - object
          - `spacer` TextqlRpcPublicReportsSpacerBlock, required
            - `height` integer, nullable
        - object
          - `text` TextqlRpcPublicReportsTextBlock, required
            - `heading` string, nullable
            - `content` string, nullable
    - `htmlPreview` string
    - `chatId` string
    - `reportId` string
  - `chatId` string
  - `slackChannelId` string

## Response `200`

Success

- TextqlRpcPublicPlaybookPreviewSlackReportResponse

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/versions/31ce2b0c4427/schema)
