Skip to main content

admin.conversations.getCustomRetention method

The features within are only available to Slack workspaces on an Enterprise plan.

Don't have a paid plan? Join the Developer Program and provision a fully-featured sandbox for free.

Usage info

This Admin API method retrieves the retention policy for any conversation, including public or private channels, DMs, and MPDMs.

You'll receive is_policy_enabled and duration_days, which represent whether a data retention policy is enabled and how many days a message will be retained for.

Response