Skip to main content

admin.conversations.getCustomRetention method

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.

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