Webhooks

Creates a new webhook in the specified channel with the provided name and optional avatar. Returns the newly created webhook object including its ID and token.

post/channels/{channel_id}/webhooks

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/channels/{channel_id}/webhooks
  • 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 channel

Request body

namestring required

The 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

    • 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