Questions tagged [webhooks]

Webhooks are a mechanism to listen and react to events using an HTTP callback: an HTTP POST that occurs when an event occurs.It is an alternative to HTTP polling.

What is it?

Webhooks are a mechanism to listen and react to events using an HTTP callback: an HTTP POST that occurs when an event occurs.It is an alternative to HTTP polling.

Webhooks are a mean to extend the functionality of a service and a way to receive valuable information in near real-time, rather than continually polling a service for that data and receiving nothing valuable most of the time.

How does it work?

A web application implementing WebHooks will POST a message to a user-specified URL when certain events occur. For example, GitHub implements post-receive webhooks that allow users to integrate with a wide variety of services such as Twitter, Basecamp, or a custom script created by the user.

Related tags

  • Use for local hooking that does not use
  • Use for hooking of git events. Use together with only for git services that use webhooks as a replacement for githooks.
  • Use for webhooks used on Github as alternative to githooks.
  • Prefer more specific tags for questions about the use of webhooks in the context of spefic APIS, such as , , etc...

See also

4650 questions
34
votes
5 answers

Github : I am missing "Settings" menu on the landing page of my repo

The "Settings" menu is supposed to be the last menu, just after the "Graphs" menu. Not having the "Settings" menu interferes with my ability to set Webhooks. And yes, this is my repo - I own it. landing page of my test-repo-travis repo
Vietnhi Phuvan
  • 2,704
  • 2
  • 25
  • 25
33
votes
13 answers

Queued Laravel jobs all fire simultaneously, and don't show up in the jobs table

I am using Laravel queues for commenting on Facebook posts. Whenever I receive data from a Facebook webhook, based on the received details I comment on the post. To handle 100 responses at once from Facebook webhooks, I am using Laravel queues, so…
Punabaka Abhinav
  • 502
  • 1
  • 9
  • 17
30
votes
5 answers

Stripe Webhook events Renewal of subscription

I am using STRIPE for credit card payments in my Asp.net Application. Application have an monthly subscription plan. First time when user subscribe the webhook event 'customer.subscription.created' fired. my question is what happened which events…
Saad
  • 1,312
  • 5
  • 17
  • 40
29
votes
5 answers

Confirming AWS SNS Topic Subscription for Slack Webhook

I am integrating SNS and Slack. I have created a slack app with incoming webhook enabled. I have got the webhook URL. I created a subscription for a SNS Topic with HTTPS protocol and set the Endpoint the webhookURL. Now the subscription is…
Manoj Acharya
  • 1,331
  • 2
  • 15
  • 27
29
votes
2 answers

Is the customer.subscription.updated event raised when a subscription is renewed?

I'm confused about why Stripe's documentation suggests the customer.subscription.updated event is not fired when I believe it should: A Stripe subscription object has the properties current_period_start and current_period_end which would be updated…
Dai
  • 141,631
  • 28
  • 261
  • 374
29
votes
2 answers

SendGrid incoming mail webhook - how do I secure my endpoint

I'm currently using SendGrid's Inbound Parse Webhook to feed emails to my application. I've been able to get it working by pointing the URL to an endpoint which my application has exposed. SendGrid just sends the email in the form of a JSON format…
Diskdrive
  • 18,107
  • 27
  • 101
  • 167
28
votes
2 answers

How do Azure Functions scale out?

The scaling documentation for Azure Functions is a bit light on details for how Azure Functions decide when to add more instances of an app. Say for example I have a function that is triggered by a Github webhook. 10,000 people simultaneously…
Adrian Hofman
  • 1,421
  • 1
  • 11
  • 24
27
votes
3 answers

How to set Telegram bot webhook?

I'm developing a Telegram bot, and I want to set the webhook to my domain's URL. I've already generated a self-signed certificate following the Telegram's guide. However, I'm not able to set the webhook. I've searched previous answers and found this…
Ignasi93
  • 533
  • 2
  • 5
  • 14
27
votes
3 answers

Slack webhook - Which IPs should I open?

We want to use Slack Webhook (Outgoing Webhook) with an internal web service. Our company is behind a firewall, so outside connections must be whitelisted. It appears that Slack has multiple addresses it will send the API request from, and they…
Sahar Menashe
  • 1,945
  • 2
  • 18
  • 17
27
votes
3 answers

How to associate sendgrid webhook sg_message_id to sent mail?

Sendgrid webhook has sg_message_id But the response of Web API v2 when sending mail doesn't have sg_message_id. In fact, there is only message showing only success or failed. So, how do i associate between sent mail and the webhook callback? I have…
chaintng
  • 1,325
  • 3
  • 14
  • 26
27
votes
2 answers

How to process a github webhook payload in Jenkins?

I'm currently triggering my Jenkins builds through a GitHub webhook. How would I parse the JSON payload? If I try to parameterize my build and use the $payload variable, the GitHub webhook fails with the following error:
Grant
  • 395
  • 1
  • 3
  • 11
27
votes
3 answers

Implementing a client-side WebHook handler?

I am a bit of a newbie in Webhooks, so excuse me if this is a simple question. I am clear about how Webhook providers work, i.e. whenever this information needing to be pushed, it sends the payload to the URL specified as callback. Now my question…
Sweety
  • 403
  • 1
  • 4
  • 7
24
votes
2 answers

Is Webhooks a style/pattern or a specification?

I've been reading about Webhooks and I'm trying to determine if it's a specification vs a style/pattern. By "specification" I mean that the implementation details, e.g. headers, payload and so on are well defined. By "style" or "pattern" I mean in…
Emilio
  • 1,951
  • 3
  • 18
  • 24
23
votes
3 answers

Telegram bot message read callback

Is it possible to get callbacks in the webhook whenever a user reads the message sent by the bot, using Telegram bot API? It is not documented, and I cannot figure out a way how to achieve it.
user7518s
  • 452
  • 1
  • 7
  • 16
22
votes
2 answers

GitHub WebHooks triggered globally instead of per branch

Our product creates WebHooks at GitHub. One for each customer project. Each such project, is linked to a single branch. When a push to GitHub is performed, the corresponding WebHook is triggered, which in its turn, is making a request to an…
ilans
  • 2,537
  • 1
  • 28
  • 29