Discord icon

Discord

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

Actions193

Webhook → Execute

AI-generated

Summary

Send a message through a Discord webhook, optionally targeting a thread and including text, embeds, components, files, polls, mentions, or forum thread settings. The webhook URL is required; set Wait to return the created message object.

Inputs

  • Webhook URL (required) — Discord webhook URL including its ID and token.
  • Content — Message text, up to 2,000 characters.
  • Embeds — Up to 10 embeds with title, description, URL, timestamp, color, footer, image, thumbnail, author, and fields.
  • Buttons, selects, components, and V2 layout fields — Add buttons, string or entity select menus, text displays, separators, media galleries, or V2 file components using the guided fields. Raw Components JSON can supply component shapes not covered by the builders.
  • Attachments — Upload files from the named binary property on each input item. You can override the filename and content type and add alt text.
  • Allowed Mentions — Control which user, role, or everyone mentions in the message can ping recipients.
  • Username, Avatar URL, TTS, Flags — Override the webhook display name or avatar, enable text-to-speech, or set Discord message flags.
  • Thread Name, Applied Tags, Thread ID — Create a named thread for forum or media channel webhooks, apply forum tags, or send into an existing thread.
  • Poll — Raw Discord poll creation payload.
  • Wait — Ask Discord to wait for confirmation and return the created message.
  • Request Options — Configure batching, TLS certificate validation, HTTP proxy, and request timeout.

Output shape

A Discord webhook execute response; with Wait enabled, a single created message object is returned.

Without Wait, Discord does not return the created message object. Upload attachments through input binary data; V2 file components reference uploaded attachments using attachment://.

Links

Discussion