| Type | Description | Example value | |
|---|---|---|---|
type | "emoji" | The constant string "emoji" that represents the object type. | "emoji" |
emoji | string | The emoji character. | "😻" |
Example: set a page icon via the Create a page endpoint
Example: set a page icon via the Update page endpoint
Custom emoji
Custom emojis are icons uploaded and managed in your own workspace. The object contains the following fields:| Type | Description | Example value | |
|---|---|---|---|
type | "custom_emoji" | The constant string "emoji" that represents the object type. | "emoji" |
custom_emoji | object | Custom emoji object, containing id, name, url | { "id": "45ce454c-d427-4f53-9489-e5d0f3d1db6b", "name": "bufo", "url": "https://s3-us-west-2.amazonaws.com/public.notion-static.com/865e85fc-7442-44d3-b323-9b03a2111720/3c6796979c50f4aa.png" } |