Co-Authored By:
Accordingly, are Webhooks an API?
To put it simply, an API does stuff when youaskit to, while a Webhook does stuff on it's own whencertaincriteria is met or scenarios takes place. Let's dig alittledeeper. An API can used from a server to communicatewithexample.com. Through that communication, the API canList,Create, Edit or Delete items.
Regarding this, what do Webhooks do on discord?
You can use Discord's webhooks to sendanycode merge or push updates in a repository of yours into atextchannel in your server. Choose the repository that you'd liketoget updates from in your Discord server.
Webhooks allow you to build or setupintegrations, such as GitHub Apps or OAuth Apps,whichsubscribe to certain events on GitHub.com.Webhookscan be installed on an organization or a specificrepository. Onceinstalled, the webhook will be triggeredeach time one ormore subscribed events occurs.