product:chat

Set history window teams

Changed on

Gives up to ten teams full history. Only for apps with the history window enabled; other apps get 403. Server-side only.

post/history_window/teams

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/history_window/teams
  • 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

Request body

teamsstring[] required

Teams to give full history, 1 to 10, each listed once. Marking a team that already has full history keeps its created_at

Response

Successful response

durationstring required

Duration of the request in milliseconds

Changes