Skip to main content

admin.conversations.getCustomRetention method

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