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

    User

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


    user:block

    This webhook event is invoked when a user blocks another user. The following shows a webhook payload of a user:block event.

    {
        "category": "user:block",
        "blocker": {
            "user_id": "Benjamin",
            "nickname": "Soulmate",
            "profile_url": "https://sendbird.com/main/img/profiles/profile_30_512px.png",
            "metadata": {}
        },
        "blockee": {
            "user_id": "Matthew",
            "nickname": "GameStart",
            "profile_url": "https://sendbird.com/main/img/profiles/profile_24_512px.png",
            "metadata": {}
        },
        "app_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    user:unblock

    This webhook event is invoked when a user unblocks another user. The following shows a webhook payload of a user:unblock event.

    {
        "category": "user:unblock",
        "unblocker": {
            "user_id": "Benjamin",
            "nickname": "Soulmate",
            "profile_url": "https://sendbird.com/main/img/profiles/profile_30_512px.png",
            "metadata": {}
        },
        "unblockee": {
            "user_id": "Matthew",
            "nickname": "GameStart",
            "profile_url": "https://sendbird.com/main/img/profiles/profile_24_512px.png",
            "metadata": {}
        },
        "app_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }