Webhooks

Update webhook

Updates the specified webhook with new settings such as name, avatar, or target channel. All fields are optional. Returns the updated webhook object.

patch/webhooks/{webhook_id}

Path parameters

webhook_idstring snowflake required

The ID of the webhook

Request body

namestring

The new name of the webhook

avatarstring byte

Base64-encoded image data

channel_idstring snowflake

Response

Success

idstring required

The unique identifier (snowflake) for the webhook

guild_idstring required

The ID of the guild this webhook belongs to

channel_idstring required

The ID of the channel this webhook posts to

namestring required

The display name of the webhook

avatarstring nullable

The hash of the webhook avatar image

tokenstring required

The secure token used to execute the webhook

Changes

No recorded changes to this endpoint across all 1 revision of this API.