---
title: "Update webhook with token"
method: PATCH
path: "/webhooks/{webhook_id}/{token}"
tags: ["Webhooks"]
---

# Update webhook with token

`PATCH /webhooks/{webhook_id}/{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.

## Path parameters

- `webhook_id` union, required
  - string, snowflake
  - integer
- `token` string, required — The webhook token

## Request body

- WebhookTokenUpdateRequest
  - `name` string — The new name of the webhook
  - `avatar` string

## Response `200`

Success

- WebhookTokenResponse
  - `id` string, snowflake, required
  - `guild_id` string, snowflake, required
  - `channel_id` string, snowflake, required
  - `name` string, required — The display name of the webhook
  - `avatar` string, nullable — The hash of the webhook avatar image
  - `token` string, required — The secure token used to execute the webhook

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

## Changes

> 15 revisions in range; 1 not diffed.

- **2026-09-18** `dd0ad4ea1c88` — 1 breaking, 1 info
  - the response property `avatar` became nullable for the status `200`
  - response property `avatar` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-09-06** `a52a2cf49d9b` — 16 warning
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `400`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `500`
  - added the new `PHONE_COUNTRY_NOT_SUPPORTED` enum value to the `code` response property for the response status `400`
  - added the new `PHONE_COUNTRY_NOT_SUPPORTED` enum value to the `code` response property for the response status `500`
  - …12 more
  - …this revision’s changelog is incomplete
- **2026-09-05** `4dbb738a3e22` — 2 info
  - removed the `NSFW_EMOJI_STICKER_BLOCKED` enum value from the `code` response property for the response status `400`
  - removed the `NSFW_EMOJI_STICKER_BLOCKED` enum value from the `code` response property for the response status `500`
- …earlier changes not shown

[Full history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/webhooks/:webhook_id/:token/patch.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxer/apis/fluxer-api/revisions/5296f41cd55d?raw)
