product:chat

Query message history

Changed on

Queries history for one message

post/messages/history

Request

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

filterobject required

Filter to apply to the query

limitinteger
nextstring
prevstring

Response

Successful response

durationstring required

Duration of the request in milliseconds

nextstring
prevstring

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property // to the response with the status

    • info

      removed the required write-only property message_history/items/Custom from the response with the status