Sample - Slack Web API
GET/apps.permissions.resources.list

List app resource grants

Lists the resource grants that an app has on a team. Use cursor and limit to control pagination and the number of resources returned.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
tokenstringrequired
Authentication token for the app; the required scope is `none`.
cursorstringoptional
Pagination cursor from a previous response's `response_metadata.next_cursor`; omit it to retrieve the first page.
limitintegeroptional
Maximum number of resource grants to return.

2 status codes
200Returns an object with `ok` set to true, a `resources` array containing resource grants, and `response_metadata.next_cursor` for pagination.
okbooleanrequired
Allowed:true
resourcesarray<object>required
response_metadataobjectoptional
defaultReturned when authentication, authorization, pagination, or request validation fails; the response contains `ok` set to false and an `error` value.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
Allowed:invalid_cursornot_authedinvalid_authaccount_inactivetoken_revokedno_permissionorg_login_requireduser_is_botinvalid_arg_nameinvalid_array_arginvalid_charsetinvalid_form_data
okbooleanrequired
Allowed:false

Error handling

token must contain a valid authentication token, and limit must be an integer when supplied. Pass the next_cursor value from response_metadata as cursor to retrieve the next page.