Slack.Web.Admin.Functions (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Look up functions by a set of apps.

Functions

list(app_ids, optional_params \\ %{})

Look up functions by a set of apps.

API reference

Rate limit: Tier 2: 20+ per minute
Scopes:

View on docs.slack.dev ↗

Required Params

  • app_ids - Comma-separated array of app IDs to get functions for; max 50. ex: A02,A1234

Optional Params

  • cursor - Set cursor to next_cursor returned by the previous call to list items in the next page. ex: dXNlcjpVMDYxTkZUVDI=
  • include_non_distributed_functions - Whether to also include functions that are not yet distributed to any users in the function count. This is needed for admins that are approving an app request and will only work if the team owns the app.
  • limit - The number of results that will be returned by the API on each invocation. Must be between 1 and 1000, both inclusive. ex: 20
  • team_id - The team context to retrieve functions from. ex: T00000001

Errors the API can return:

  • invalid_cursor - Value passed for cursor was not valid or is no longer valid.
  • not_allowed - The user is not allowed to access this API method.
  • restricted_action - The user is not allowed to access this API method.

See the Common Errors guide for errors returned by every Web API method.