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

    List all emoji categories

    Retrieves an array of all emoji categories registered to the application, including their emojis.


    HTTP request

    GET https://api-{application_id}.sendbird.com/v3/emoji_categories
    

    Response

    If successful, this action returns an array of emoji category resources in the response body.

    {
        "emoji_hash": "",
        "emoji_categories": [
            {
                "id": 1,
                "name": "face",
                "url": "http://emojicategory.com/face_category",
                "emojis": [
                    {
                        "id": 1,
                        "key": "smile",
                        "url": "https://emojikeyboard.io/img/img-apple-64/1f600.png"
                    },
                    {
                        "id": 2,
                        "key": "angry",
                        "url": "https://emojikeyboard.io/img/img-apple-64/1f620.png"
                    },
                    ... # More emojis
                ]
            },
            ... # More emoji categories
        ]
    }
    

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