Skip to main content

Audit Logs API methods & actions

Welcome to the new home of Slack developer docs!

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.

This feature is only available to Slack workspaces on an Enterprise Grid plan

The Audit Logs API is RESTful and, being read-only, uses a single HTTP verb—GET—to query and retrieve information. These methods will also return standard HTTP status codes to indicate success or failure.

The base URL for accessing the Audit Logs API methods is:

https://api.slack.com/audit/v1/

All endpoints branch from this base URL.

HeaderValueDescription
Hostapi.slack.com
Acceptapplication/json
AuthorizationBearer xoxp-...The token must be a Slack user token (beginning with xoxp) associated with an Enterprise Grid organization owner (Grid organization administrator tokens are not currently supported) and the token must be granted the auditlogs:read OAuth scope. If you are having trouble generating this token, please contact our support team.

Below is an example of a call:

   GET /audit/v1/logs HTTP/1.1
Host: api.slack.com
Accept: application/json
Authorization: Bearer xoxp-1234567890-0987654321-1234567890-0987654321

Rate limits

The Audit Logs API methods conform to Slack's rate limits, and all methods are rated Tier 3. This allows for up to 50 calls per minute, with an allowance for sporadic bursts. Unlike the Web API rate limits however, which are calculated on a per-app basis, the Audit Logs API rate limits are calculated according to an organization-wide limit.

Endpoints

Use the following RESTful endpoints to access the methods of the Audit Logs API.

EndpointDescription
GET /schemasReturns information about the kind of objects which the Audit Logs API returns as a list of all objects and a short description. Authentication not required.
GET /actionsReturns information about the kind of actions that the Audit Logs API returns as a list of all actions and a short description of each. Authentication not required.
GET /logsRetrieves audit events from your organization. It will return a list of actions that have occurred on the installed workspace or Enterprise Grid organization. Authentication required.

Filters

The following filters can be applied to narrow the range of actions returned. Filters are added as query string parameters and can be combined together. Multiple filter parameters are additive (a boolean AND) and are separated with an ampersand (&) in the query string. Filtering is entirely optional.

Filter keyTypeDescription
latestIntegerUnix timestamp of the most recent audit event to include (inclusive).
oldestIntegerUnix timestamp of the least recent audit event to include (inclusive). Data is not available prior to March 2018.
limitIntegerNumber of results to optimistically return, maximum 9999.
actionStringName of the action or actions (separated by commas) to filter on, maximum 30.
actorStringUser ID who initiated the action. Will be USLACKSECURITY if customer credentials were reset by Slack Security.
entityStringID of the target entity of the action (such as a channel, workspace, organization, file).

For example, a call to the Audit Logs API that returns all of the audit events for a specific user (W123AB456) who logged in (user_login) since March 16, 2018 would look like:

https://api.slack.com/audit/v1/logs?oldest=1521214343&action=user_login&actor=W123AB456

To return logs for multiple actions, separate the actions in the query string by commas:

https://api.slack.com/audit/v1/logs?oldest=1521214343&action=file_uploaded,public_channel_created,emoji_added

Slack will return a maximum of 9,999 audit events per API request, with the default ordering being descending (most to least recent). Use cursor-based pagination to programmatically access more audit events.

You may receive more than the passed limit results from a given request if there are multiple logs that were recorded at the exact same time.

Actions

The following tables outline the currently supported list of actions, organized by entity. This list will grow over time — if you don't see an action you are interested in keeping an eye on, please let us know.

App

ActionDescription
app_approvedOn workspaces that have admin approved apps enabled, an app has been approved but not yet installed.
app_deletedAn app has been deleted.
app_deployedAn app has been deployed to Slack.
app_installedAn app has been installed. If a custom integration had been disabled, this event will also be triggered if it is re-enabled.
app_manifest_createdAn app manifest was created. This occurs prior to the app being installed and made available to users.
app_manifest_updatedAn app manifest was updated. This occurs prior to the app being installed and made available to users. Please see the additional action app_scopes_expanded, which occurs when an update results in additional access to resources.
app_removed_from_whitelistAn app was removed from the allowed list.
app_resources_addedWorkspace apps have the ability to request access to a specific resource on a workspace, such as a channel or a DM, including wildcard resources (such as all public channels). This event is triggered when access has been granted.
app_resources_grantedAn app resource was granted.
app_restrictedOn workspaces that have admin approved apps enabled, an app has been restricted and cannot be installed.
app_scopes_expandedAn app has been granted additional access to resources on a workspace or organization, via OAuth scopes. For most apps, this requires a re-install.
app_token_preservedAn app's token was preserved instead of revoked, usually due to an app owner or installer being removed from an organization.
app_uninstalledA Slack app was uninstalled.
app_variable_addedAn environment variable was added to the app or the value was updated.
app_variable_removedAn environment variable was removed from the app.
bot_token_downgradedA bot app's token was downgraded to non-granular permissions.
bot_token_upgradedA bot app's token was upgraded with granular permissions.
org_app_future_workspace_install_disabledDisabled auto install of organization installed apps to future workspaces.
org_app_future_workspace_install_enabledEnabled auto install of organization installed apps to future workspaces.
org_app_upgraded_to_org_installAn app was granted access to all workspaces that previously had the app installed.
org_app_workspace_addedAn App was added on a workspace.
org_app_workspace_removedAn App was removed from a workspace.

Canvas

ActionDescription
canvas_access_addedCanvas access granted to a user or channel.
canvas_access_downgradedCanvas access was downgraded for a channel.
canvas_access_revokedCanvas access revoked from a user or channel.
canvas_access_upgradedCanvas access was upgraded for a channel.
canvas_converted_to_templateA canvas was converted to a template.
canvas_createdA canvas was created.
canvas_deletedA canvas was deleted.
canvas_downloadedA canvas was downloaded via a private download link.
canvas_editedA canvas was edited.
canvas_linksharing_disabledCanvas link sharing was set to restricted.
canvas_linksharing_enabledCanvas link sharing was set to view or edit.
canvas_mergedA canvas was merged from another canvas.
canvas_openedA canvas was opened.
canvas_ownership_transferredCanvas ownership was transferred to another user.
canvas_restoredA canvas was restored.
canvas_sharedA canvas was shared in a channel, direct message, or multi-party direct message.
canvas_tombstonedA canvas was tombstoned.
canvas_unsharedA canvas was unshared from a channel, direct message, or multi-party direct message.
canvas_template_revertedA canvas template was reverted back to a canvas.
canvas_template_usedA canvas template was used.

Channel

ActionDescription
channel_can_huddle_pref_changed_from_org_levelChannel huddle permission updated through channel management tool.
channel_email_address_createdAn email forwarding address was created for a channel.
channel_email_address_deletedAn email forwarding address was deleted from channel.
channel_enable_at_channel_pref_changed_from_org_levelChannel mention posting permission updated for channel through the channel management tool.
channel_enable_at_here_pref_changed_from_org_levelHere mention posting permission updated for channel through the channel management tool.
channel_membership_limit_changed_from_org_levelChannel membership limit updated through the channel management tool.
channel_movedA channel has been moved to a different workspace.
channel_posting_permissions_updatedPosting permissions updated for a channel through the channel posting permissions modal.
channel_posting_pref_changed_from_org_levelChannel posting permission updated through the channel management tool.
channel_renamedA channel has been renamed.
channel_retention_changedMessage retention policy was changed for a channel.
channel_tab_addedChannel tab was added for a channel.
channel_tab_removedChannel tab was removed for a channel.
channel_workspaces_updatedThe scope of a multi-workspace channel was updated.
dm_user_addedA user was added to an existing DM conversation.
featured_workflow_addedA Featured workflow was added to the channel.
featured_workflow_removedA Featured workflow was removed from the channel.
group_converted_to_channelGroup has been converted to channel.
guest_channel_joinA guest user has joined a channel. This action contains a team identifier so that you can see which team the joining guest comes from (useful for externally shared channels).
guest_channel_leaveA guest user has left a channel. This action contains a team identifier so that you can see which team the departing guest comes from (useful for externally shared channels).
guest_createdA guest was invited to a channel. This action contains a team identifier so that you can see which team the inviting user comes from.
mpim_converted_to_privateA multi-party direct message was converted to a private channel.
private_channel_archiveA private channel was archived.
private_channel_converted_to_publicA channel which was once private is now public.
private_channel_createdA private channel was created.
private_channel_deletedA private channel was deleted.
private_channel_unarchiveA private channel was unarchived.
private_message_forwardedA message from a DM or private channel was forwarded or shared via link.
public_channel_archiveA public channel was archived.
public_channel_converted_to_privateA channel which was once public is now private.
public_channel_createdA public channel was created.
public_channel_deletedA public channel was deleted.
public_channel_previewConversations of a public channel are viewed by a user who is not a member of the channel.
public_channel_unarchiveA public channel was unarchived.
service_owner_transferredService owner has been transferred on request from primary owner.
user_channel_joinA user has joined a channel. The actor parameter describes the user who joined the channel and the entity describes the channel. If the user was invited to the channel, the inviter will appear in the details parameter and the context parameter will be that of the inviter. The user field in this action contains a team identifier so that you can see which team the joining user comes from (useful for externally shared channels).
user_channel_leaveA user has left a channel. This action contains a team identifier so that you can see which team the departing user comes from (useful for externally shared channels).

Enterprise Key Management (EKM)

ActionDescription
ekm_clear_cache_setA revocation event has triggered a new TTL for cached date in this workspace.
ekm_enrolledThe workspace is now enrolled/managed by EKM.
ekm_key_addedAn EKM key was added for the workspace.
ekm_key_removedAn EKM key was removed for the workspace.
ekm_logging_config_setLogging settings for this workspace's EKM configuration have changed.
ekm_slackbot_enroll_notification_sentSlack sent notifications about this workspace being enrolled in EKM.
ekm_slackbot_logging_notification_sentSlack sent notifications about logging changes to EKM in this workspace.
ekm_slackbot_rekey_notification_sentSlack sent notifications about this workspace's EKM configuration being rekeyed.
ekm_slackbot_unenroll_notification_sentSlack sent notifications about this workspace no longer being enrolled in EKM.
ekm_unenrolledThe workspace is no longer enrolled or managed by EKM.

Huddles

ActionDescription
huddle_endedA huddle has ended.
huddle_knock_acceptedSomeone asked to join a huddle and was accepted.
huddle_participant_droppedSomeone was dropped from a huddle.
huddle_participant_joinedSomeone has joined a huddle.
huddle_participant_leftSomeone has left a huddle.
huddle_startedA huddle has started.
huddle_screenshare_onSomeone started sharing their screen in a huddle.
huddle_screenshare_offSomeone stopped sharing their screen in a huddle.

File

ActionDescription
file_deletedA file was deleted.
file_download_blockedA file was blocked from being downloaded.
file_downloadedA file was downloaded or viewed within Slack.
file_malicious_content_detectedMalware scanning found malicious content in the file.
file_public_link_createdA public link was created for a file. This action contains a team identifier so that you can see which team the creating user comes from (useful for externally shared channels).
file_public_link_revokedA public link was revoked from a file. This action contains a team identifier so that you can see which team the revoking user comes from (useful for externally shared channels).
file_sharedA file was shared in another channel. This action contains a team identifier so that you can see which team the uploading user comes from (useful for externally shared channels).
file_uploadedA file was uploaded.

Function

ActionDescription
function_distribution_permission_addedA function permission has been added.
function_distribution_permission_removedA function permission has been removed.
function_distribution_permission_setA function permission has been set.

List

ActionDescription
list_access_addedList access was granted to a user or channel.
list_access_downgradedList access was downgraded for a user or channel.
list_access_revokedList access was revoked from a user or channel.
list_access_upgradedList access was upgraded for a user or channel.
list_cell_updatedA list cell was edited.
list_column_createdA list column was edited.
list_column_deletedA list column was deleted.
list_column_revertedA list column change was reverted.
list_column_updatedA list column was renamed or edited; for example, by changing a single-select column to a multi-select column.
list_converted_to_templateA list was converted to a template.
list_createdA list was created.
list_deletedA list was deleted.
list_description_updatedA list description was changed.
list_downloadedA list was downloaded via a private download link.
list_icon_updatedThe title emoji of a list was changed.
list_linksharing_enabledList link sharing was set to view or edited.
list_linksharing_disabledList link sharing was set to restricted.
list_openedA list was opened.
list_ownership_transferredList ownership transferred to another user.
list_sharedA list was shared in a channel, direct message, or multi-party direct message.
list_restoredA list was restored.
list_row_createdA list row was added or duplicated.
list_row_deletedA list row was deleted.
list_rows_deletedMultiple list rows were deleted.
list_row_updatedA list row was dragged and dropped to change its position.
list_template_revertedA list template was reverted back to a list.
list_title_updatedA list title was changed.
list_tombstonedA list was tombstoned.
list_view_createdA list view was created.
list_view_deletedA list view was deleted.
list_view_updatedA list view had a filter, sort, or grouping applied, was renamed, was dragged and dropped to change its order, or a column within the list view was dragged and dropped to change its order.

Native Data Loss Prevention (DLP)

ActionDescription
native_dlp_rule_action_appliedData Loss Prevention Rule triggered.
native_dlp_rule_createdData Loss Prevention Rule created.
native_dlp_rule_deactivatedData Loss Prevention Rule deactivated.
native_dlp_rule_reactivatedData Loss Prevention Rule reactivated.
native_dlp_violation_deletedData Loss Prevention Rule deleted.

Sales Elevate

ActionDescription
sales_elevate_members_addedA Slack user has been granted with Sales Elevate access to a Salesforce organization.
sales_elevate_members_removedA Slack user's Sales Elevate access to a Salesforce organization has been revoked.
sales_elevate_notifications_settings_updatedA Sales Elevate Notifications setting of a Salesforce organization has been updated.
sales_elevate_object_mappings_setThe object mappings for a Salesforce organization has been set.
sales_elevate_object_mappings_updatedThe object mappings for a Salesforce organization has been updated.
sales_elevate_opportunity_list_settings_updatedThe opportunity list setting for a Salesforce organization has been updated.
sales_elevate_org_connection_addedA new Salesforce organization connection has been added.
sales_elevate_org_connection_removedA Salesforce organization connection has been removed.
sales_elevate_sales_admin_activity_config_changedThe configurations related to activities for a Salesforce organization has been updated.
sales_elevate_workflow_updatedA Sales Elevate notification workflow config has been updated.

Shared channels

ActionDescription
connect_dm_invite_acceptedAn invitation to start a Slack Connect DM was accepted.
connect_dm_invite_generatedAn invitation to start a Slack Connect DM was sent.
connect_dm_invite_ignoredSlack Connect DM link was ignored.
connect_dm_invite_revokedAn invitation to start a Slack Connect DM was revoked.
external_shared_channel_access_upgradedA channel was upgraded to a Slack Connect channel.
external_shared_channel_connectedA shared channel with another workspace has been connected with this one.
external_shared_channel_disconnect_and_archivedA shared channel was disconnected and archived.
external_shared_channel_disconnectedA shared channel or DM with another workspace is no longer connected with this one.
external_shared_channel_invite_acceptedAn invitation to join a shared channel was accepted! Nice.
external_shared_channel_invite_approvedAn invitation to join a shared channel was approved by an admin.
external_shared_channel_invite_auto_revokedAn invitation to join a shared channel was automatically revoked.
external_shared_channel_invite_createdAn invitation url to join a shared channel was created.
external_shared_channel_invite_declinedAn invitation to join a shared channel was declined.
external_shared_channel_invite_expiredAn invitation to join a shared channel expired.
external_shared_channel_invite_revokedAn invitation to join a shared channel was revoked.
external_shared_channel_reconnectedA previously connected and then disconnected shared channel or DM with another workspace is once again shared with this one.

Slack AI

ActionDescription
slack_ai_summary_requestedA user has requested a channel, thread, DM, or MPDM Slack AI summary.
slack_ai_file_summary_generatedAI file summary is generated and stored.
slack_ai_file_summary_deletedAI file summary is deleted by a user.
huddle_transcription_start_notificationUser received a notification informing the huddle notes transcription has started.
huddle_transcription_startedHuddle notes transcription started.
huddle_transcription_resumedHuddle notes transcription resumed.
huddle_transcription_cancelledHuddle notes transcription cancelled.
huddle_transcription_pausedHuddle notes transcription paused.
slack_ai_huddle_notes_generatedAI notes were generated for a huddle.

Workflows

ActionDescription
workflow_app_token_preservedA workflows app token was preserved.
workflow_createdA workflow has been created.
workflow_deletedA workflow has been deleted.
workflow_publishedA workflow has been published.
workflow_responses_csv_downloadA user downloaded a workflow’s responses as a CSV file.
workflow_unpublishedA workflow has been unpublished.

Workflows v2

ActionDescription
external_auth_oauth2_token_fetchedAn external token was fetched. Refer to token rotation for more details.
external_auth_oauth2_token_refreshedAn external token was refreshed. Refer to token rotation for more details.
external_auth_oauth2_token_deletedAn external token was deleted. Refer to token rotation for more details.
workflow_trigger_permission_addedOne or more entities have been allowed access to a workflow trigger.
workflow_trigger_permission_removedOne or more entities have had their access to a workflow trigger revoked.
workflow_trigger_permission_setThe permission type of a workflow trigger has been set.
workflow_v2_publishedA workflow has been published.

User

ActionDescription
anomalyAn anomalous user behavior was detected.
custom_tos_acceptedA team member accepted a custom terms of service agreement.
guest_createdA guest was created.
guest_deactivatedA guest was deactivated.
guest_expiration_clearedA guest had an expiration time cleared (before this time arrived).
guest_expiration_setA guest had an account expiration time set.
guest_expiredA guest was deactivated when the expiration time was reached.
guest_joined_workspaceA guest joined a workspace.
guest_reactivatedA guest was reactivated after having been deactivated.
owner_transferredAn owner was transferred.
permissions_assignedA team member was assigned a permission.
permissions_removedA team member was unassigned a permission.
role_assignedA team member was assigned a role.
role_change_to_adminA team member was made an admin.
role_change_to_guestA team member was changed to a Multi-Channel Guest (MCG) or Single-Channel Guest (SCG).
role_change_to_ownerA team member was made an owner.
role_change_to_userA team member was made a regular user.
role_removedA team member was unassigned a role.
user_createdA team member was created.
user_deactivatedA team member was deactivated.
user_email_updatedA team member's email was updated.
user_force_upgrade_non_compliant_mobile_app_versionA team member was forced to upgrade due to a non-compliant mobile app version.
user_joined_workspaceA team member joined a workspace.
user_login_failedA team member failed to login.
user_loginA team member logged in.
user_logout_compromisedA team member was logged out due to a compromised device.
user_logout_non_compliant_mobile_app_versionA team member was logged out due to a non-compliant mobile app version.
user_logoutA team member logged out.
user_password_reset_requestedA user requested to reset password.
user_password_reset_slack_securityA Slack security agent has reset the user's password. The actor will be USLACKSECURITY.
user_profile_updatedA user's profile has been updated. This action will only be recorded when real_name, display_name, first_name, last_name, pronouns, title or the profile image is updated.
user_profile_deletedA user's profile information has been deleted.
user_reactivatedA team member was reactivated after having been deactivated.
user_session_invalidatedA team member's session was invalidated.
user_session_reset_by_adminA team member's session was reset by an admin.
user_sessions_reset_by_anomaly_event_responseA team member's sessions were reset by the anomaly event response feature.
user_session_settings_changedA team member's session settings were changed.

User groups

ActionDescription
default_channel_added_to_usergroupA default channel was added to a user group.
default_channel_removed_from_usergroupA default channel was removed from a user group.
role_added_to_usergroupA role was added to a user group.
role_modified_on_usergroupA user group role was updated.
role_removed_from_usergroupA role was removed from a user group.
user_added_to_usergroupA user was added to a user group.
user_removed_from_usergroupA user was removed from a user group.
usergroup_add_to_team_enqueuedThe request to add a user group to a team was enqueued.
usergroup_added_to_teamA user group was added to a team.
usergroup_remove_from_team_enqueuedThe request to remove a user group from a team was enqueued.
usergroup_removed_from_teamA user group was removed from a team.
usergroup_update_enqueuedThe request to update a user group was enqueued.
usergroup_updatedA user group was updated.

Workspace or Organization

ActionDescription
approved_orgs_addedAn organization was added to the approved organizations list.
approved_orgs_removedAn organization was removed from the approved organizations list.
barrier_createdAn information barrier was created.
barrier_deletedAn information barrier was deleted.
barrier_updatedAn information barrier was updated.
billing_address_addedA billing address was added. Includes a details parameter noting the timestamp the TOS was accepted.
channels_export_completedA channel export is complete.
channels_export_deletedA channel export was deleted.
channels_export_downloadedA channel export was downloaded.
channels_export_startedA channel export has begun.
cli_login A user has logged in with the Slack CLI to the workspace or organization.
corporate_exports_approvedThe corporate export feature has been approved for use on a workspace.
corporate_exports_enabled The corporate export feature has been enabled for a workspace.
domain_createdA domain was created.
domain_deletedA domain was deleted.
domain_verifiedA domain was verified.
emoji_addedAn emoji was added. Includes a details parameter with the name of the emoji.
emoji_aliasedAn emoji was given an alias. Includes a details parameter with the name of the alias.
emoji_removedAn emoji was removed. Includes a details parameter with the name of the emoji.
emoji_renamedAn emoji was renamed. Includes a details parameter with the previous and new names of the emoji.
idp_configuration_addedIdP configuration added.
idp_configuration_deletedIdP configuration deleted.
idp_prod_configuration_updatedIdP Production configuration updated.
idp_test_configuration_updatedIdP Testing configuration updated.
manual_export_completedA standard or corporate export has finished.
manual_export_deletedA standard or corporate export was deleted.
manual_export_downloadedA standard or corporate export was downloaded.
manual_export_startedAn admin or owner has started a standard or corporate export.
manual_user_export_completedA manual user export has finished.
manual_user_export_deletedA manual user export was deleted.
manual_user_export_downloadedA manual user export was downloaded.
manual_user_export_startedA manual user export has started.
message_flaggedA message was flagged.
message_moderatedA message was moderated.
message_restoredA message was restored.
message_tombstonedA message was tombstoned.
migration_completedA migration was completed.
migration_dms_mpdms_completedA migration of DMs and MPDMs completed.
migration_scheduledA migration was scheduled.
organization_accepted_migrationThe Org Owner accepted a workspace invitation to join their organization.
organization_createdAn Enterprise Grid organization was created.
organization_declined_migrationThe Org Owner declined a workspace invitation to join their organization.
organization_deletedAn Enterprise Grid organization was deleted.
organization_domain_changedAn Enterprise Grid organization's domain was changed.
organization_public_url_updatedYour organization’s public URL has been changed.
organization_renamedAn Enterprise Grid organization was renamed.
organization_unverifiedSlack has flagged a change in your organization’s identity and has unverified it. The organization will no longer be denoted with a verified badge.
organization_verifiedSlack has confirmed the identity of your organization. The organization will now be denoted with a verified badge.
scheduled_export_completedA scheduled export has finished.
scheduled_export_deletedA scheduled export was deleted.
scheduled_export_downloadedA scheduled export was downloaded.
scheduled_export_startedA scheduled export has started.
team_authorized_ip_range_setThe authorized IP ranges has been set for desktop block file download feature.
team_unsupported_versions_job_endAn Unsupported Versions report job has completed.
team_unsupported_versions_job_startAn Unsupported Versions report job has started.
team_unsupported_versions_start_failureA request to generate the Unsupported Versions report has failed.
team_unsupported_versions_start_successA request to generate the Unsupported Versions report has been scheduled successfully.
thread_replies_disabledThread replies have been disabled.
thread_replies_enabledThread replies have been enabled.
workspace_accepted_migrationAn administrator on a workspace has accepted an invitation to migrate to a Grid organization.
workspace_createdA workspace in an organization was created.
workspace_declined_migrationAn administrator on a workspace has declined an invitation to migrate to a Grid organization.
workspace_deletedA workspace in an organization was deleted.
audit_logs_records_searchedA user searched for audit logs from the Audit Logs screen on organization dashboard.
audit_logs_export_csv_startedA user started a CSV export of audit logs from the Audit Logs screen on organization dashboard.
audit_logs_export_json_startedA user started a JSON export of audit logs from the Audit Logs screen on organization dashboard.

Workspace or Organization preferences

ActionDescription
auth_policy_createdAuth policy created.
auth_policy_entity_assignedEntity has been assigned to auth policy.
auth_policy_entity_removedEntity has been removed from auth policy.
bulk_session_reset_by_adminAdmin has bulk reset user sessions.
intune_disabledMicrosoft Intune Enterprise MDM disabled.
intune_enabledMicrosoft Intune Enterprise MDM enabled.
legal_hold_policy_createdA legal hold was created.
legal_hold_policy_entities_addedEntities added to legal hold policy.
legal_hold_policy_entities_deletedEntities deleted from legal hold policy.
legal_hold_policy_exclusion_addedExclusion added to legal hold policy.
legal_hold_policy_exclusion_deletedExclusion deleted from legal hold policy.
legal_hold_policy_reactivatedA legal hold was reactivated.
legal_hold_policy_releasedA legal hold was released.
legal_hold_policy_updatedA legal hold was updated.
pref.agentforce_workspaces_settings_changedThe workspaces settings for Agentforce, including the blocked workspaces and default workspaces to grant access to.
pref.allow_callsA preference indicating whether Slack Calls can be used in this workspace has changed.
pref.allow_canvas_version_history_changedThe ability for editors of a canvas to access history and restore prior versions has been enabled or disabled.
pref.allow_message_deletionSomeone altered this workspace's settings around whether messages can be deleted or not.
pref.allow_native_gif_pickerSomeone altered this workspace's settings around whether the gif picker can be accessed or not.
pref.anomaly_event_response_changedSomeone modified which anomaly events automatically end all user sessions, or which admins are notified. Includes a details parameter noting the previous and new values.
pref.app_dir_onlyWhether only Slack Marketplace apps can be installed or not in this workspace has changed.
pref.app_whitelist_enabledSomeone has carefully carved or culled the list of apps this workspace allows.
pref.block_download_and_copy_on_untrusted_mobileThe setting of blocking file download and copy on untrusted mobile device.
pref.block_file_download_for_unapproved_ipThe setting of blocking file download on desktop client with unauthorized IP ranges.
pref.can_receive_shared_channels_invitesWhether this workspace can receive invites to share channels with other workspaces has changed.
pref.canvas_retention_changedThe canvas retention setting changed. Includes a details parameter noting the previous and new values.
pref.commands_only_regularThe setting determining whether restricted users are restricted from using slash commands was changed.
pref.custom_tosThis workspace's settings on having a custom terms of service have changed.
pref.disallow_public_file_urlsThis workspace has modified their public file URL settings for files uploaded within it.
pref.dm_retention_changedThe direct message (DM) retention setting changed. Includes a details parameter noting the previous and new values.
pref.dnd_enabledDo not disturb settings have been enabled for a workspace.
pref.dnd_end_hourThe exact ending hour for workspace do not disturb settings has been set. Work hard and go home.
pref.dnd_start_hourThe exact starting hour for workspace do not disturb settings has been set. Hopefully everyone is awake and ready to work by then.
pref.emoji_only_adminsSomeone modified the list of emoji-administrating admins, so you know who stole the cookies from the cookie jar.
pref.enterprise_default_channelsSomeone modified the list of default channels across the Enterprise Grid.
pref.enterprise_team_creation_requestSomeone has requested that your organization allow a new workspace to be created.
pref.file_retention_changedThe file retention setting changed. Includes a details parameter noting the previous and new values.
pref.invites_only_adminsSettings determining whether or not invites need admin approval to be sent out changed.
pref.invite_requests_approval_channelThe channel where invite requests get sent to admins got changed.
pre.max_guest_durationA max guest duration (in days) was set. This preference can only be set at the Enterprise level from the Org dashboard.
pref.member_analytics_disabledSomeone changed whether to allow user with analytics access to view member analytics.
pref.ml_opt_outThe organization's ML opt out preference was changed.
pref.mobile_session_duration_changedThe organization's mobile session duration was changed.
pref.msg_edit_window_minsSomeone edited the edit messaging window for a workspace.
pref.private_channel_analytics_disabledSomeone changed whether to allow user with analytics access to view private channel analytics.
pref.private_channel_retention_changedThe group (private channel) retention setting changed. Includes a details parameter noting the previous and new values.
pref.public_channel_retention_changedThe channel retention setting type changed. Includes a details parameter noting the previous and new values.
pref.retention_override_changedThe retention override setting, allowing workspace members to set their own retention period for private channels and DMs, changed. Includes a details parameter noting the previous and new values.
pref.session_duration_changedThe organizations session duration was changed.
pref.session_duration_type_changedThe organization's session type has has changed.
pref.sign_in_with_slack_disabledThis workspace changed their preference around allowing Sign in with Slack.
pref.slackbot_responses_disabledThe settings around whether Slackbot's witty responses are enabled or disabled changed.
pref.slackbot_responses_only_adminsThere's a secret cabal of admins for those witty Slackbot responses and that list was changed.
pref.sso_setting_changedThe Single Sign On (SSO) restriction changed. Includes a details parameter noting the previous and new values.
pref.stats_only_adminsThe list of admins that can work with workspace statistics only has changed.
pref.two_factor_auth_changedThe two-factor authentication requirement changed. Includes a details parameter noting the previous and new values.
pref.two_factor_prevent_sms_changedAllowed usage of SMS for two-factor authentication has changed. Includes a details parameter noting the previous and new values.
pref.uneditable_user_profile_fieldsA list of read-only user profile fields.
pref.username_policyA workspace's username policy preference changed.
pref.who_can_archive_channelsThe list of who is allowed to archive channels changed.
pref.who_can_create_delete_user_groupsThe list of who can create or delete user groups changed.
pref.who_can_create_private_channelsThe list of who can create private channels changed.
pref.who_can_create_public_channelsThe same as above, but for public channels.
pref.who_can_edit_user_groupsThe list of who can edit user groups changed.
pref.who_can_manage_channel_posting_prefsThe list of who can manage channel posting preferences changed.
pref.who_can_manage_ext_shared_channelsThe list of who can manage externally shared channels has changed.
pref.who_can_manage_guestsThe list of who can manage guests has changed.
pref.who_can_manage_shared_channelsSettings around who can remove users from shared channels has changed for a workspace.
pref.who_can_remove_from_private_channelsSettings around who can remove users from private channels has changed for a workspace.
prefs_setting_changedPreference settings was updated.
slack_connect_guidelines_changedSlack Connect guidelines have been changed.
slack_connect_invite_routing_disabledSlack Connect invite routing has been disabled.
slack_connect_invite_routing_enabledSlack Connect invite routing has been enabled.
slack_connect_pref_migratedSlack Connect preference has been migrated.
slack_connect_pref_removedSlack Connect preference has been removed.
slack_connect_pref_setSlack Connect preference has been set.

Errors

Occasionally, interacting with Slack APIs will result in an error instead of, well, a result. Slack will make every attempt to respond with a descriptive error message that will help you figure out what went wrong and how to fix it.

ErrorDescription
bad_endpointThe endpoint URL does not exist.
feature_not_enabledAudit Logs are not available on your workspace, probably because it is not part of an Enterpise Grid organization.
invalid_actionThe action is not supported.
invalid_authenticationThe authentication token is not valid. Check that the token is associated with an Enterprise Grid owner and that it has the auditlogs:read scope.
invalid_cursorThe pagination cursor is invalid. Check that it matches the cursor that was returned by the previous request.
invalid_rangeThe range specified in the filter is not valid. This may indicate a date from before the feature was enabled or at some point in the future.
invalid_workspaceThe Audit Logs API can not be used with this workspace, most likely because it not a part of an Enterprise Grid.
method_not_allowedThis method is not allowed on the workspace or with the token used.
missing_authenticationThe OAuth token is either missing from the header of the request or malformed.
rate_limitedThe app is calling the API too often. Please slow down.
team_not_authorizedThe app is installed on a Slack workspace but needs to be installed on an Enterprise Grid organization.
user_not_authorizedThe user who installed the app is not an Enterprise Grid owner — they must be an Enterprise Grid owner.