OpenAPI 3.0.3raw.githubusercontent.com2026-08-17186533833.5 KB

5c5f8f6ad07d

product:chat

Set retention policy

Creates or updates a retention policy for the app. Server-side only.

post/retention_policy

Request body

max_age_hoursinteger required
policy'old-messages' | 'inactive-channels' required

Response

Response

durationstring required

Duration of the request in milliseconds