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

    Image moderation

    Copy link

    This page shows webhook events related to image moderation within your Sendbird application.


    image_moderation:block

    Copy link

    This webhook event is invoked when a message with explicit images or inappropriate image URLs is blocked. The following shows a webhook payload for a image_moderation:block event.

    {
        "category": "image_moderation:block",
        "blocked_at": 1558014537691,
        "sender": {
            "user_id": "Jin",
            "nickname": "JinJin",
            "profile_url": "https://sendbird.com/main/img/profiles/profile_26_512px.png",
            "metadata": {}
        },
        "channel": {
            "name": "Trip to Africa",
            "channel_url": "sendbird_group_channel_6037267_600ddc81a5e23049c804193370d47217fa2ed5f9",
            "custom_type": "",
            "data": ""
        },
        "message_text": "Here is my friend's profile! https://xxx.com/img/profiles/sally.jpg",
        "app_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }