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

webhook_idstring snowflake required

The ID of the webhook

tokenstring required

The token

Request body

namestring

The new name of the webhook

avatarstring byte

Base64-encoded image data

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.