Slack.Web.Auth.Teams (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Obtain a full list of workspaces your org-wide app has been approved for.

Functions

list(optional_params \\ %{})

Obtain a full list of workspaces your org-wide app has been approved for.

API reference

Rate limit: Tier 2: 20+ per minute
Scopes: No scopes required

View on docs.slack.dev ↗

Optional Params

  • cursor - Set cursor to next_cursor returned by the previous call to list items in the next page. ex: 5c3e53d5
  • include_icon - Whether to return icon paths for each workspace. An icon path represents a URI pointing to the image signifying the workspace. ex: false
  • limit - The maximum number of workspaces to return. Must be a positive integer no larger than 1000. ex: 50

Errors the API can return:

  • invalid_cursor - Invalid cursor.
  • invalid_limit - The value passed for limit was not valid.

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