Skip to main content

Discord webhooks

Actions in the category "Discord webhooks".

Create webhook​

Creates a webhook for a channel.

Required permissions: Manage webhooks.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel the webhook posts to.
NameTextYesDefault display name. Length: 1 to 80 characters.
Avatar URLURLNoDefault avatar.
Audit log reasonTextNoReason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
WebhookWebhookThe created webhook.

Update webhook​

Edit a webhook's name, avatar, or destination channel.

Required permissions: Manage webhooks.

Inputs

NameTypeRequiredDetails
WebhookWebhookYesThe webhook to update.
NameTextNoThe new webhook display name. Length: 1 to 80 characters.
Avatar URLURLNoThe new avatar image URL.
ChannelServer channelNoMove the webhook to this channel.
Audit log reasonTextNoReason shown in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
WebhookWebhookThe updated webhook.

Delete webhook​

Permanently delete a webhook.

Required permissions: Manage webhooks.

Inputs

NameTypeRequiredDetails
WebhookWebhookYesThe webhook to delete.
Audit log reasonTextNoReason shown in the audit log. Maximum length: 512 characters.

Send webhook message​

Post a message through a webhook, optionally overriding the username and avatar.

Inputs

NameTypeRequiredDetails
WebhookWebhookYesThe webhook to send through.
ContentMessage contentYesThe message content (text, embeds, components, etc.).
Username overrideTextNoDisplay name shown for this message. Maximum length: 80 characters.
Avatar URL overrideURLNoAvatar image shown for this message.
Thread IDDiscord IDNoSend into this thread instead of the parent channel.

Outputs

NameTypeDetails
MessageMessageThe posted message.

Edit webhook message​

Edit a message previously posted via webhook.

Inputs

NameTypeRequiredDetails
WebhookWebhookYesThe webhook that posted the message.
Message IDDiscord IDYesThe Discord ID of the message to edit.
ThreadThreadNoThe thread the message lives in.
New contentMessage contentYesThe replacement message content.

Outputs

NameTypeDetails
MessageMessageThe edited message.

Delete webhook message​

Delete a message previously posted via webhook.

Inputs

NameTypeRequiredDetails
WebhookWebhookYesThe webhook that posted the message.
Message IDDiscord IDYesThe Discord ID of the message to delete.
ThreadThreadNoThe thread the message lives in.

Fetch webhook by ID​

Look up a webhook by its Discord ID.

Inputs

NameTypeRequiredDetails
Webhook IDDiscord IDYesThe Discord ID of the webhook.

Outputs

NameTypeDetails
WebhookWebhookThe webhook, or empty if not found. May be empty.

Fetch server webhooks​

List all webhooks across an entire server.

Required permissions: Manage webhooks.

Outputs

NameTypeDetails
WebhooksList of WebhookAll webhooks in the server.
Need more help?
Can't find what you're looking for? Our team is happy to help.