SlackApp

Represents a Slack app. Includes access to the associated SlackApp object in the Metadata API. Available in API version 54.0 and later.

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

DELETE, GET, HEAD, PATCH, POST, Query

To use this object, your org must have Slack capabilities and packaging enabled. You must also enable user permissions to connect Salesforce with Slack.

Field NameDescription
AppKeyType
encryptedstring
Properties
Filter, Group, idLookup, Sort
Description
The app ID, as shown on the Slack app's Basic Information page.
AppTokenType
encryptedstring
Type
encryptedstring
Properties
Nillable
Description
The app token, as shown on the Basic Information page. The app token starts with xapp-. Retrieving this field isn't supported.
ClientKeyType
encryptedstring
Properties
Nillable
Description
The client ID, as shown on the Basic Information page. Retrieving this field isn't supported.
ClientSecretType
encryptedstring
Properties
Nillable
Description
The client secret, as shown on the Basic Information page. See Slack API: oauth.v2.access. Retrieving this field isn't supported.
ConfigType
textarea
Properties
Nillable
Description
The app configuration in YAML format.
DeveloperNameType
string
Properties
Filter, Group, Sort
Description
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.
FullNameType
string
Properties
Create, Group, Nillable
Description
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.
IsProtectedType
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
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.
LanguageType
picklist
Properties
Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
Description
The language associated with the Slack app. For example, en_US for English and es for Spanish.
ManageableStateType
ManageableState enumerated list
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Indicates the manageable state of the specified component that is contained in a package:
- beta
- deleted
- deprecated
- deprecatedEditable
- installed
- installedEditable
- released
- unmanaged
MasterLabelType
string
Properties
Filter, Group, Nillable, Sort
Description
Label for the Slack app.
NamespacePrefixType
string
Properties
Filter, Group, Nillable, Sort
Description
The namespace that identifies the package that manages the Slack app.
SigningSecretType
encryptedstring
Properties
Nillable
Description
The string that Slack uses to sign the request. Retrieving this field isn't supported.