/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Get a moderated message

    Copy link

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


    HTTP request

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

    Parameters

    Copy link

    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

    Copy link

    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.