product:chat

Get retention policy

Changed on

Returns all retention policies configured for the app. Server-side only.

get/retention_policy

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/retention_policy
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Response

Response

durationstring required

Duration of the request in milliseconds

Changes