Managing workflow and connector permissions
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.
Don't have a paid plan? Join the Developer Program and provision a fully-featured sandbox for free.
While Workspace Admins and Org Admins can manage workflow permissions and approval requests from the admin settings site dashboard, they may find using the API directly for these actions is more efficient, especially when it comes to bulk actions.
Each of the methods outlined here accepts an OAuth user token with the specified scope. If you're working with a classic app, read more about authorization here, and if you're exploring new frontiers with workflow automations, read more about authorization here.
Read on to discover the API methods that help admins manage workflows, functions, and connectors in their org.
App management
Use the following methods to manage apps in your org.
Method | Description |
---|---|
admin.apps.activities.list | Retrieves logs for an org or team |
admin.apps.approve | Approves an app for installation in a workspace |
admin.apps.clearResolution | Clears an app resolution, undoing the effect of admin.apps.approve or admin.apps.restrict |
admin.apps.restrict | Restricts an app for installation in a workspace |
admin.apps.uninstall | Uninstalls an app from one or many workspaces or an entire enterprise org |
admin.apps.approved.list | Lists approved apps for an org or workspace |
admin.apps.requests.cancel | Cancels an app request for a team |
admin.apps.requests.list | Lists app requests for a team or workspace |
admin.apps.restricted.list | Lists restricted apps for an org or workspace |
admin.apps.config.lookup | Looks up the app config for connectors by their IDs |
admin.apps.config.set | Sets the app config for a connector |
Workflow management
Use the following methods to manage workflows in your org.
Method | Description |
---|---|
admin.workflows.search | Searches workflows within the team or enterprise |
admin.workflows.permissions.lookup | Looks up permissions for a set of workflows |
admin.workflows.unpublish | Unpublishes workflows within the team or enterprise |
admin.workflows.collaborators.add | Adds collaborators to workflows within the team or enterprise |
admin.workflows.collaborators.remove | Removes collaborators from workflows within the team or enterprise |
Function management
Use the following methods to manage functions in your org.
Method | Description |
---|---|
admin.functions.list | Looks up functions by a set of apps |
admin.functions.permissions.lookup | Looks up the visibility of multiple Slack functions and includes the users if it is limited to particular named entities |
admin.functions.permissions.set | Sets the visibility of a Slack function and defines the users or workspaces if it is set to named_entities |