webhooks_modify_with_token
Update a webhook's name and avatar using its token, without bot authentication.
Instructions
Purpose: Update a webhook (name + avatar only) using its token, no bot auth.
When to use:
You hold the token but lack guild access.
Restrictions:
Cannot move the webhook (
channel_idnot accepted on this route - usewebhooks_modify).Discord does not record audit reasons on token-auth routes, so
audit_reasonis intentionally absent.
Auth: NO Authorization: Bot … header.
Returns: Updated webhook record. name remains raw creator-controlled data; untrusted_name provides a separately fenced copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name | |
| token | Yes | Webhook secret - treat as credential, do not log | |
| avatar | No | base64-encoded image data URI, or null to clear | |
| webhook_id | Yes | Webhook to modify |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||