Optional. The maximum number of custom emoji returned. The service can return fewer custom emoji than this value. If unspecified, the default value is 25. The maximum value is 200; values above 200 are changed to 200.
pageToken
string
Optional. (If resuming from a previous query.)
A page token received from a previous list custom emoji call. Provide this to retrieve the subsequent page.
When paginating, the filter value should match the call that provided the page token. Passing a different value might lead to unexpected results.
filter
string
Optional. A query filter.
Supports filtering by creator.
To filter by creator, you must specify a valid value. Currently only creator("users/me") and NOT creator("users/me") are accepted to filter custom emoji by whether they were created by the calling user or not.
For example, the following query returns custom emoji created by the caller:
creator("users/me")
Invalid queries are rejected by the server with an INVALID_ARGUMENT error.
Request body
The request body must be empty.
Response body
A response to a list of custom emoji.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-27 UTC."],[[["Lists custom emojis visible to the authenticated user, requiring user authentication and specific authorization scopes."],["Allows filtering by creator to see emojis created by the calling user or others."],["Supports pagination to retrieve large lists of custom emojis, with a default page size of 25 and a maximum of 200."],["Returns a list of custom emojis and a token for retrieving subsequent pages if available."],["Requires an empty request body and provides a structured JSON response containing emoji details."]]],["This document details how to list custom emojis in Google Chat via an HTTP GET request to `https://chat.googleapis.com/v1/customEmojis`. The request requires user authentication and supports optional query parameters: `pageSize` (default 25, max 200), `pageToken` (for pagination), and `filter` (to filter by emoji creator). The request body must be empty. The response includes a list of `customEmojis` and an optional `nextPageToken` for pagination. Authorization requires either `chat.customemojis` or `chat.customemojis.readonly` scope.\n"]]