---
id: v1-template-slack
title: TemplateSlack
pagination_label: TemplateSlack
sidebar_label: TemplateSlack
sidebar_class_name: typescriptsdk
keywords: ['typescript', 'TypeScript', 'sdk', 'TemplateSlack', 'v1TemplateSlack']
slug: /tools/sdk/typescript/notifications/models/template-slack
tags: ['SDK', 'Software Development Kit', 'TemplateSlack', 'v1TemplateSlack']
---

# TemplateSlack

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **(optional)** `string` | The template key | [default to undefined]
**text** | **(optional)** `string` | The main text content of the Slack message | [default to undefined]
**blocks** | **(optional)** `string` | JSON string of Slack Block Kit blocks for rich formatting | [default to undefined]
**attachments** | **(optional)** `string` | JSON string of Slack attachments | [default to undefined]
**notificationType** | **(optional)** `string` | The type of notification | [default to undefined]
**approvalId** | **(optional)** `string` | The approval request ID | [default to undefined]
**requestId** | **(optional)** `string` | The request ID | [default to undefined]
**requestedById** | **(optional)** `string` | The ID of the user who made the request | [default to undefined]
**isSubscription** | **(optional)** `boolean` | Whether this is a subscription notification | [default to false]
**autoApprovalData** | **(optional)** `TemplateSlackAutoApprovalData` |  | [default to undefined]
**customFields** | **(optional)** `TemplateSlackCustomFields` |  | [default to undefined]

