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 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. 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.