# Get Emoji

> Get an emoji by ID.

- ID: `get_emoji`
- Type: Block
- Category: [Emojis](https://inventor.bot/docs/reference/blocks/emojis.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `emoji_id` | yes | ID of the emoji to retrieve. |  |
| `server_id` | yes | ID of the server to retrieve the emoji from. |  |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `id` | ID of the emoji. |  |
| `name` | Name of the emoji. |  |
| `animated` | Whether the emoji is animated. |  |
| `available` | Whether the emoji is available for use. |  |
| `managed` | Whether the emoji is managed by an integration. |  |
| `requires_colons` | Whether the emoji requires colons. |  |
| `roles` | Comma-separated role IDs that can use the emoji. |  |
| `user_id` | ID of the emoji creator, if available. |  |
| `api_name` | API-ready emoji name (name:id or a:name:id). |  |

**Example**

```go
emoji := get_emoji(Args{emoji_id: "...", server_id: trigger.server_id})
send_text_message(Args{channel_id: trigger.channel_id, message_content: "Emoji ID: " + emoji.id})
```