guild_get_widget
guild_get_widget
Section titled “guild_get_widget”Category: guild
Get the public guild widget JSON. No bot auth required — Discord serves this anonymously.
When to use
Section titled “When to use”- Render a public-facing widget on a website. The widget must be enabled (see
guild_get_widget_settings).
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
guild_id | string | yes | Guild to query |
Returns
Section titled “Returns”\{id, name, instant_invite, channels, members, presence_count\} (raw passthrough).
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Discord guild (server) ID |
name | string | yes | |
instant_invite | unknown | yes | |
presence_count | integer | yes | |
channels | array | yes | |
members_count | integer | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |