Add emoji categories
This action adds new emoji categories to your Sendbird application.
HTTP request
Note: If you are using the in-app channel in Delight AI agent, the endpoint for your API request should start with
https://api-{application_id}.svc.delight.ai/v3instead ofhttps://api-{application_id}.sendbird.com/v3. For more details, refer to our Delight AI agent guide.
Request body
The following table lists the properties of an HTTP request that this action supports.
Required
| Property name | Type | Description |
|---|---|---|
emoji_categories[] | array of objects | Specifies an array of emoji categories to register to your application. |
(emoji_category).name | string | Specifies the name of the emoji category. |
(emoji_category).url | string | Specifies the URL of the emoji category's image. Setting a representative image of an emoji category can help users understand what emojis may be included in the category. |
Responses
If successful, this action returns an array of the newly added emoji category resources in the response body.
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.