product:chat

Get history window teams

Changed on

Returns the app's default history window and the teams with full history. Only for apps with the history window enabled; other apps get 403. Server-side only.

get/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

Response

Successful response

default_window_hoursinteger required

History window, in hours, of every team without full history; 0 is full history

durationstring required

Duration of the request in milliseconds

Changes