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

string snowflake required
OR
integer required

The ID of the webhook

Request body

namestring

The new name of the webhook

avatarstring

Response

Success

idstring snowflake required
guild_idstring snowflake required
channel_idstring snowflake required
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