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

    List all emoji categories

    Copy link

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


    HTTP request

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

    Response

    Copy link

    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.