Webhooks

Update webhook with token

Updates the specified webhook using its ID and token for authentication. Allows modification of name or avatar. Returns the updated webhook object without creator user data.

patch/webhooks/{webhook_id}/{token}

Path parameters

string snowflake required
OR
integer required

The ID of the webhook

tokenstring required

The webhook token

The webhook token

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