product:chat

Batch unread counts

Changed on

Fetch unread counts in batch for multiple users in one call

post/unread_batch

Request

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

user_idsstring[] required

Response

Response

counts_by_userobject required
durationstring required

Duration of the request in milliseconds

Changes

    • info

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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status