Discord webhooks
Actions in the category "Discord webhooks".
Create webhook
Creates a webhook for a channel.
Required permissions: Manage webhooks.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Channel | Text channel | Yes | Channel the webhook posts to. |
| Name | Text | Yes | Default display name. Length: 1 to 80 characters. |
| Avatar URL | URL | No | Default avatar. |
| Audit log reason | Text | No | Reason recorded in the audit log. Maximum length: 512 characters. |
Outputs
| Name | Type | Details |
|---|---|---|
| Webhook | Webhook | The created webhook. |
Update webhook
Edit a webhook's name, avatar, or destination channel.
Required permissions: Manage webhooks.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Webhook | Webhook | Yes | The webhook to update. |
| Name | Text | No | The new webhook display name. Length: 1 to 80 characters. |
| Avatar URL | URL | No | The new avatar image URL. |
| Channel | Server channel | No | Move the webhook to this channel. |
| Audit log reason | Text | No | Reason shown in the audit log. Maximum length: 512 characters. |
Outputs
| Name | Type | Details |
|---|---|---|
| Webhook | Webhook | The updated webhook. |
Delete webhook
Permanently delete a webhook.
Required permissions: Manage webhooks.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Webhook | Webhook | Yes | The webhook to delete. |
| Audit log reason | Text | No | Reason 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
| Name | Type | Required | Details |
|---|---|---|---|
| Webhook | Webhook | Yes | The webhook to send through. |
| Content | Message content | Yes | The message content (text, embeds, components, etc.). |
| Username override | Text | No | Display name shown for this message. Maximum length: 80 characters. |
| Avatar URL override | URL | No | Avatar image shown for this message. |
| Thread ID | Discord ID | No | Send into this thread instead of the parent channel. |
Outputs
| Name | Type | Details |
|---|---|---|
| Message | Message | The posted message. |
Edit webhook message
Edit a message previously posted via webhook.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Webhook | Webhook | Yes | The webhook that posted the message. |
| Message ID | Discord ID | Yes | The Discord ID of the message to edit. |
| Thread | Thread | No | The thread the message lives in. |
| New content | Message content | Yes | The replacement message content. |
Outputs
| Name | Type | Details |
|---|---|---|
| Message | Message | The edited message. |
Delete webhook message
Delete a message previously posted via webhook.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Webhook | Webhook | Yes | The webhook that posted the message. |
| Message ID | Discord ID | Yes | The Discord ID of the message to delete. |
| Thread | Thread | No | The thread the message lives in. |
Fetch webhook by ID
Look up a webhook by its Discord ID.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Webhook ID | Discord ID | Yes | The Discord ID of the webhook. |
Outputs
| Name | Type | Details |
|---|---|---|
| Webhook | Webhook | The webhook, or empty if not found. May be empty. |
Fetch server webhooks
List all webhooks across an entire server.
Required permissions: Manage webhooks.
Outputs
| Name | Type | Details |
|---|---|---|
| Webhooks | List of Webhook | All webhooks in the server. |
Need more help?
Can't find what you're looking for? Our team is happy to help.