Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Webhook → Create

AI-generated

Summary

Creates a Discord webhook in the specified channel with the given name and optional avatar, using the configured bot or OAuth2 credentials.

Inputs

  • Authentication — Choose Bot Token (the default) or OAuth2 (User Token).
  • Channel (required) — Discord channel snowflake ID where the webhook will be created.
  • Name (required) — Webhook name, 1–80 characters.
  • Avatar — Image data URI for the webhook avatar; empty leaves the avatar unchanged.
  • Audit Log Reason — Optional reason recorded in the Discord guild audit log; limited to 512 characters.
  • Request Options — Optional batching, SSL certificate validation, proxy, and timeout settings for requests.

Output shape

A single Discord webhook record.

The source pack provides only function signatures for the webhook module, so the returned record shape is not shown there.

Links

Discussion