# Get Webhook

> Get a webhook by its ID.

- ID: `get_webhook`
- Type: Block
- Category: [Webhooks](https://inventor.bot/docs/reference/blocks/webhooks.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `webhook_id` | yes | ID of the webhook to get. |  |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `webhook_id` | ID of the webhook. |  |
| `webhook_name` | Name of the webhook. |  |
| `webhook_channel_id` | Channel ID the webhook belongs to. |  |
| `webhook_guild_id` | Server ID the webhook belongs to. |  |
| `webhook_token` | Token of the webhook (may be empty). |  |
| `webhook_type` | Type of the webhook (1 = Incoming, 2 = Channel Follower, 3 = Application). |  |
| `webhook_application_id` | Application ID that created the webhook (if applicable). |  |
| `webhook_avatar` | Avatar hash of the webhook. |  |
| `webhook_creator_id` | ID of the user that created the webhook. |  |

**Example**

```go
webhook := get_webhook(Args{webhook_id: "..."})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Webhook ID: " + webhook.webhook_id,
})
```