Method: customEmojis.create

  • This Developer Preview feature enables the creation of custom emojis in Google Chat.

  • It necessitates user authentication and uses the chat.customemojis OAuth scope.

  • The feature functions through an HTTP POST request, utilizing gRPC Transcoding, and involves request and response bodies containing the CustomEmoji object.

  • To explore its functionality, refer to the "Try it!" section within the documentation.

Creates a custom emoji.

Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see Learn about custom emojis in Google Chat and Manage custom emoji permissions.

Requires user authentication with the authorization scope:

  • https://www.googleapis.com/auth/chat.customemojis

HTTP request

POST https://chat.googleapis.com/v1/customEmojis

The URL uses gRPC Transcoding syntax.

Request body

The request body contains an instance of CustomEmoji.

Response body

If successful, the response body contains a newly created instance of CustomEmoji.

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/chat.customemojis

For more information, see the Authorization guide.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.