webhooks_modify_with_token
webhooks_modify_with_token
Section titled “webhooks_modify_with_token”Category: webhooks
Update a webhook (name + avatar only) using its token, no bot auth.
When to use
Section titled “When to use”- You hold the token but lack guild access.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
webhook_id | string | yes | Webhook to modify |
token | string | yes | Webhook secret — treat as credential, do not log |
name | string | no | New display name |
avatar | unknown | no | base64-encoded image data URI, or null to clear |
Returns
Section titled “Returns”Updated webhook record. name wrapped untrusted.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Discord webhook ID |
type | integer | yes | |
channel_id | unknown | yes | |
application_id | unknown | yes | |
name | unknown | yes | |
avatar | unknown | yes | |
untrusted_name | string | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |