provider PATCH /webhooks/{webhook_id}/{webhook_token}
@utdk/discord /webhooks/{webhook_id}/{webhook_token}
update_webhook_by_token
webhook_id path required
string
webhook_token path required
string

Try it

Authentication
Configure credentials for Discord HTTP API (Preview)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateWebhookByToken
PATCH/webhooks/{webhook_id}/{webhook_token}

Parameters

required
required

Input

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import discord from '@utdk/discord';

await discord.updateWebhookByToken()