webhook

From IndieWeb
Jump to: navigation, search


A webhook is a mechanism for notifying a server about updates to some content in realtime by making an HTTP request. Often also referred to as a "callback URL".

Often the payload of a webhook is something small, such as a message that indicates new content for the application or for a specific user, rather than including the actual data itself.

Contents

APIs that support webhooks

Instagram

Instagram has a realtime API which sends updates to your application any time any authorized user posts a new photo.[1]

Jawbone

Apps can register webhooks with the Jawbone API to receive callbacks for user events.[2]

Beeminder

It is possible to register a webhook in the Beeminder API so that the API will notify the webhook when any of your goals have new data. This was demoed at the 2012 IndieWebCamp.

Known

Known supports sending notifications to an arbitrary webhook via a plugin: https://github.com/idno/Webhooks

GitHub

GitHub has extensive webhook support. Most activities related to a repository can send a notification through a webhook. One can even trigger when a pushed commit for a GitHub Pages has been published, which is useful to trigger PubSubHubbub pings. [3]

Reading.am

Reading.am supports webhooks for saved pages

IndieWeb Examples

Examples of IndieWeb sites that have enabled some form of webhook:

  • phorkie sends notifications via webhooks when pastes are added, updated or deleted. See the documentation.

See Also

Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox