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

    View a moderated message

    Retrieves information on a message that has been moderated by the profanity filter.


    HTTP request

    GET https://api-{application_id}.sendbird.com/v3/report/{channel_type}/{channel_url}/profanity_messages/{message_id}
    

    Parameters

    The following table lists the parameters that this action supports.

    Required
    Parameter nameTypeDescription

    channel_type

    string

    Specifies the type of a channel. Acceptable values are open_channels and group_channels.

    channel_url

    string

    Specifies the URL of a target channel.

    message_id

    long

    Specifies the unique ID of a moderated message.


    Response

    If successful, this action returns a moderated message that contains the original and replaced texts in the response body.

    In the case of an error, an error object is returned. A detailed list of error codes is available here.