Sample - Slack Web API
GET/team.integrationLogs

List team integration logs

Lists integration logs for the current team. Use the filter parameters to restrict results by app, change type, service, or user, and use count and page for pagination. The response contains matching log records and paging metadata.

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

7 parameters
tokenstringrequired
Authentication token with the `admin` scope.
app_idstringoptional
Filter logs to a specific Slack app; defaults to all logs when omitted.
change_typestringoptional
Filter logs by change type; defaults to all logs when omitted.
countstringoptional
Number of integration log entries to request for the page.
pagestringoptional
Page number for the paginated integration log collection.
service_idstringoptional
Filter logs to a specific service; defaults to all logs when omitted.
userstringoptional
Filter logs generated by a specific user's actions; defaults to all logs when omitted.

2 status codes
200Returns an object containing a `logs` array of integration records and `paging` metadata with the current page and total count.
logsarray<object>required
okbooleanrequired
Allowed:true
pagingobjectrequired
defaultReturns an error object with `ok` set to false and an `error` value describing why integration logs could not be retrieved.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
Allowed:not_authedinvalid_authaccount_inactivetoken_revokedno_permissionorg_login_requireduser_is_botinvalid_arg_nameinvalid_array_arginvalid_charsetinvalid_form_datainvalid_post_type
okbooleanrequired
Allowed:false

Error handling

Supply token with the admin scope. Any provided filter such as app_id, change_type, service_id, or user must identify the integration log attribute you want to match; use count and page to navigate results.