Learn about webhooks
Webhooks
Here we will discuss webhooks, you will learn about the following in this section:
- What are webhooks?
- How to create a webhook
- How to delete all webhooks
- Actions
- How to delete a webhook
- How to edit a webhook
What are Webhooks?
Webhooks allow you to securely send & receive requests to URLs from your application.
It’s a common misconception that you should put a Discord Webhook URL in the URL field. While it’s possible to use Discord webhooks with KeyAuth webhooks, it isn’t the main use; and requires extra configuration.
How can I send a Discord webhook?
string resp = KeyAuthApp.webhook("webhookID", "", "{\"content\": \"webhook message here\",\"embeds\": null}", "application/json"); // if Discord webhook message successful, response will be empty