---
schema_version: "1"
id: c3f5d806ff6b3f7922d0098be2be06361f3e2aa966e056c6558e8bba553da9e8
title: SlackApp
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-slack-sdk/apex-slack-sdk/guides/api_tooling/tooling_api_objects_slackapp.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/tooling_api_objects_slackapp.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: fa665fc7b6889bd52df3c56b31404672b11ef45cf325bcca931ce8dccb518c13
products:
  - Apex SDK for Slack (Beta)
---
# SlackApp

Represents a Slack app. Includes access to the associated SlackApp object in the Metadata API. Available in API version 54.0 and later.

## Supported SOAP API Calls

`create()`, `delete()`, `describeSObjects()`, `query()`, `retrieve()`, `update()`, `upsert()`

## Supported REST API HTTP Methods

`DELETE`, `GET`, `HEAD`, `PATCH`, `POST`, `Query`

## Special Access Rules

To use this object, your org must have Slack capabilities and packaging enabled. You must also [enable user permissions](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/setup-your-env.md) to connect Salesforce with Slack.

| Field Name        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AppKey`          | **Type**<br> encryptedstring <br> **Properties** <br> Filter, Group, idLookup, Sort<br> **Description**<br> The app ID, as shown on the Slack app's Basic Information page.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `AppToken`        | **Type**<br> encryptedstring <br> **Type** <br> encryptedstring <br> **Properties** <br> Nillable <br> **Description** <br> The app token, as shown on the Basic Information page. The app token starts with `xapp-`. Retrieving this field isn't supported.                                                                                                                                                                                                                                                                                                                                        |
| `ClientKey`       | **Type**<br> encryptedstring <br> **Properties** <br> Nillable <br> **Description** <br> The client ID, as shown on the Basic Information page. Retrieving this field isn't supported.                                                                                                                                                                                                                                                                                                                                                                                                              |
| `ClientSecret`    | **Type**<br> encryptedstring <br> **Properties** <br> Nillable <br> **Description** <br> The client secret, as shown on the Basic Information page. See [Slack API: oauth.v2.access](https://api.slack.com/methods/oauth.v2.access). Retrieving this field isn't supported.                                                                                                                                                                                                                                                                                                                         |
| `Config`          | **Type**<br> textarea <br> **Properties** <br> Nillable <br> **Description** <br> The app configuration in YAML format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `DeveloperName`   | **Type**<br> string <br> **Properties** <br> Filter, Group, Sort <br> **Description** <br> The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. |
| `FullName`        | **Type**<br> string <br> **Properties** <br> Create, Group, Nillable <br> **Description** <br> The full name of the associated SlackApp object in Metadata API. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.                                                                                                                                                                                                         |
| `IsProtected`     | **Type**<br> boolean <br> **Properties** <br> Defaulted on create, Filter, Group, Sort <br> **Description** <br> Indicates whether the Slack app is protected (true) or not (false). If true, only this package can reference the Slack app directly. The default value is false.                                                                                                                                                                                                                                                                                                                   |
| `Language`        | **Type**<br> picklist <br> **Properties** <br> Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort <br> **Description** <br> The language associated with the Slack app. For example, en_US for English and es for Spanish.                                                                                                                                                                                                                                                                                                                                                     |
| `ManageableState` | **Type**<br> ManageableState enumerated list <br> **Properties** <br> Filter, Group, Nillable, Restricted picklist, Sort <br> **Description** <br> Indicates the manageable state of the specified component that is contained in a package: <br> - beta <br> - deleted <br> - deprecated <br> - deprecatedEditable <br> - installed <br> - installedEditable <br> - released <br> - unmanaged                                                                                                                                                                                                      |
| `MasterLabel`     | **Type**<br> string <br> **Properties** <br> Filter, Group, Nillable, Sort <br> **Description** <br> Label for the Slack app.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `NamespacePrefix` | **Type**<br> string <br> **Properties** <br> Filter, Group, Nillable, Sort <br> **Description** <br> The namespace that identifies the package that manages the Slack app.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `SigningSecret`   | **Type**<br> encryptedstring<br> **Properties** <br> Nillable <br> **Description** <br> The string that Slack uses to sign the request. Retrieving this field isn't supported.                                                                                                                                                                                                                                                                                                                                                                                                                      |
