Webhooks

Update webhook with token

Changed on

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}

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/webhooks/{webhook_id}/{token}
  • Auth: none required

Path parameters

string snowflake required
OR
integer required

The ID of the webhook

tokenstring required

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

type1 | 2 required

The type of webhook

tokenstring required

The secure token used to execute the webhook

Changes

    • info

      added the required property to the response with the status

    • breaking

      the response property became nullable for the status

    • info

      response property avatar list-of-types was narrowed by removing types null from media type application/json of response 200