conversations.requestSharedInvite.deny
method
Welcome to the new home of Slack developer docs!
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
This Slack Connect API method denies a requested Slack Connect invitation. An external user will not receive the invitation and will not be added to the channel. The invite-requesting user will be notified that their request was denied.
Prerequisites
- You must have administrator access to a workspace that is part of an Enterprise Grid plan.
- You must have the following settings configured within your Admin Dashboard under Slack Connect Settings: a) Toggle on the Apply automation rules before channel invitations are sent preference. b) Under Channels, toggle on either the Sending Invitations with Permission to Post Only or the Sending Invitations with permission to post, invite and more preference.
For more details, refer to governing Slack Connect invites.
Using the message
argument
The message
argument allows the actor to specify the deny message, which will be sent to the invite requestor.