webhooks_list_guild
webhooks_list_guild
Section titled “webhooks_list_guild”Category: webhooks
List every webhook in a guild (across all channels).
When to use
Section titled “When to use”- Server-wide audit, find unauthorized webhooks, plan a cleanup.
When NOT to use
Section titled “When NOT to use”- Single-channel scope →
webhooks_list_channel.
| Field | Type | Required | Description |
|---|---|---|---|
guild_id | string | yes | Guild to query |
Returns
Section titled “Returns”\{webhooks:[\{id,name,type,channel_id,application_id\}], count\}. Names are wrapped untrusted (creator-controlled).
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
webhooks | array | yes | |
count | integer | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |