Secure webhooks for Roblox & Luau scripts
Updated November 28, 2026 · Wilt Webhook Security
Why client-side webhooks always get leaked
Putting a Discord webhook URL directly inside a Roblox Lua or Luau script, even an obfuscated one, exposes it to anyone running an HTTP spy. Once a user captures the URL, they can spam your channel with fake logs or send a DELETE request to destroy the webhook.
A secure webhook never leaves the server.
How Wilt's server-side webhooks work
- Bearer secrets on the server: Your webhook URL is stored in Wilt's database and read only by the server-side
libraryEdge Function. It is never sent to a Roblox client. - Triggered on verified execution: Wilt emits the
script_executionevent afterPOST /library/keys/buildvalidates the key and releases a build. - Project-wide or per-script routing: Set one webhook for an entire project, or override it for individual scripts without duplicating settings.
- Discord & custom HTTPS JSON: Choose Discord (with customizable embed title, description, and disabled mentions) or Other (JSON) for any public HTTPS endpoint.
- Best-effort, non-blocking: A slow or unavailable webhook destination never blocks your script from being delivered to a valid user.
Example JSON webhook payload
When using Other (JSON), Wilt sends a clean HTTPS POST request containing only the project/script fields you selected (never player identities, HWIDs, keys, or Luau source):
{
"event": "script_execution",
"occurred_at": "2026-10-17T05:00:00.000Z",
"data": {
"project_name": "Example",
"script_name": "Main"
},
"message": "A script was executed."
}
Frequently asked questions
Can someone extract my Discord webhook URL from a Wilt script?
No. The Roblox client never receives or calls the Discord webhook URL. Only Wilt's server reads the URL and sends the request.
Are secure webhooks free on Wilt?
Yes. Project-wide and per-script Discord and HTTPS JSON webhooks are included in Wilt's $0 plan.
Set up secure webhooks in minutes
Configure Discord or HTTPS JSON webhooks in the Wilt dashboard's Webhooks tab. Free forever.