How to get a Discord webhook URL and keep it out of the wrong hands
A webhook is the quickest way to post a designed message without running a bot. It is also a password for your channel, so it deserves the same care.
Short answer
Open Server Settings, go to Integrations and Webhooks, click New Webhook, choose a channel and copy the URL. Paste it only into a trusted sender like the RestoreCord embed builder, which posts from your browser and doesn't send the URL to RestoreCord.
What a webhook actually is
A Discord webhook is a URL tied to one channel. Anything that sends a correctly shaped request to that URL can post in the channel, with whatever name and avatar it chooses. No bot account, no login and no permissions check happen at send time. That makes webhooks perfect for announcement tools, and it is also why the URL itself is the only thing protecting the channel.
Creating one in under a minute
You need the Manage Webhooks permission for the channel. Then open Server Settings, choose Integrations, then Webhooks, and click New Webhook. Pick the channel it should post in, give it a name your staff will recognise and click Copy Webhook URL. The URL starts with https://discord.com/api/webhooks/.
Sending your design
In the RestoreCord embed builder, finish your message, click Send and paste the URL. The builder sends the message from your browser directly to Discord. Images you attached from your device travel the same way, as attachments on the message itself. You can set a username and avatar for this message only, so one webhook can post as Events today and Patch Notes tomorrow.
Treat the URL like a password
| Risk | What happens | What to do |
|---|---|---|
| Pasted in a public channel | Anyone can post spam or scams as your webhook | Delete the webhook and create a new one |
| Visible in a screenshot | The token at the end of the URL is readable | Crop or blur before sharing, or rotate it |
| Shared in a team document | Every reader can post to the channel | Keep one webhook per tool and per person |
| Given to an unknown site | The site can store and reuse it | Use tools that keep the URL in your browser |
There is no way to revoke a single copy of a webhook URL. If it leaked, the only fix is deleting the webhook, which instantly makes every copy useless.
Why webhook buttons only open links
Discord allows interactive buttons only on messages sent by a bot application, because the bot is what answers the click. Webhook messages can carry link buttons, which open a URL, and that is what the builder offers in webhook mode. If you need a button that verifies members, gives roles or runs RestoreCord's built-in actions, create a free RestoreCord account: the Message Studio lets you design those buttons for your own custom bot and test-send them before going live.
Housekeeping for busy servers
- Name webhooks after the tool or person using them, so you know what to delete.
- Use a separate webhook per channel, so one leak doesn't expose the rest.
- Review the Webhooks list every few months and remove anything unused.
Before sending something long, check the Discord embed limits. More tools on the RestoreCord Embeds home page.
Set up a webhook safely
Open the channel's integrations
Go to Server Settings, then Integrations, then Webhooks, and click New Webhook.
Point it at one channel
Pick the channel it should post in and give it a recognisable name for your staff.
Copy the URL once
Click Copy Webhook URL and paste it straight into the builder's Send dialog, not into chat.
Retire it when you're done
Delete webhooks you no longer use so old URLs can't be reused by anyone who saw them.
Webhook questions
Post your design, keep your webhook
Build the message, paste the URL and send. Nothing about your webhook leaves your browser.