Webhooks

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}

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/webhooks/{webhook_id}
  • Auth: one of:
    • API key in header Authorization
    • API key in header Authorization

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

type1 | 2 required

The type of webhook

tokenstring

The secure token used to execute the webhook, omitted for channel follower webhooks

Changes

    • breaking

      the response property became optional for the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property / became nullable for 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

    • info

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

    • info

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