Chat / Platform API
Current version: v3
    Chat Platform API v3
    Chat Platform API
    Chat
    Platform API
    Home
    /
    Chat
    /
    Platform API
    /
    Message

    Overview

    The read receipts feature allows you to see how many messages remain unread for a specific member. You can also use the feature to mark all unread messages of a specific member as read.

    Note: This feature is only applicable to group channels.


    Actions

    The following table shows a list of actions supported for read receipt. API endpoints are relative to the base URL allocated to your Sendbird application. In this page, the /{channel_type}/{channel_url}/messages endpoint refers to https://api-{application_id}.sendbird.com/v3/{channel_type}/{channel_url}/messages.

    Note: If you want to know the ID and base URL of your application, sign in to the Sendbird Dashboard, go to the Settings > Application > General, and then check the Application ID and API request URL.

    • It's recommended that the parameter values in API URLs be urlencoded, such as {user_id} and {channel_url}.

    List of actions

    ActionHTTP request

    Get number of unread messages per member

    GET /group_channels/{channel_url}/messages/unread_count
    Retrieves the total number of each member's unread messages in a specific group channel.

    Mark all messages as read

    PUT /group_channels/{channel_url}/messages/mark_as_read
    Marks all messages in a group channel as read for a specific user.