Webhooks and Event Types from the API Rock Stars
Let's take a look at some webhooks and event types from some of the API rockstars, including Twilio, Sendgrid, and Stripe.
Join the DZone community and get the full member experience.Join For Free
We've spent lots of time showcasing the event-driven infrastructure from the API providers in different business sectors, and now we wanted to take some time to showcase where the leading API providers are going with their approaches. There is a lot to learn from the most successful API providers out there, and it pays to check in on what the rock stars are up to when it comes to event-driven approaches to operating API platforms. There are five providers we like to think of as API rock stars, all of which have implemented Webhooks to support their operations:
- Twilio Webhooks — SMS, voice, and push technology for messaging applications.
- SendGrid Webhooks — Email push technology for transactional messaging applications.
- Stripe Webhooks — Payment push technology for driving commerce applications.
- GitHub Webhooks — Infrastructure push technology for orchestrating our systems.
- Slack Webhooks — Chat and message push technology for orchestration collaboration.
Once you dive in deeper into these APIs, you begin to learn more about the meaningful events that these platforms let their consumers subscribe to:
- Twilio Event Types — The types of events Twilio is using to manage their messaging infrastructure.
- SendGrid Event Types — The types of events SendGrid is using to manage their messaging infrastructure.
- Stripe Event Types — The types of events Stripe is using to manage their messaging infrastructure.
- GitHub Event Types — The types of events GitHub is using to manage their messaging infrastructure.
- Slack Event Types — The types of events Slack is using to manage their messaging infrastructure.
These five providers offer a good look at what is needed after you have operated your APIs for long enough and begin to reach a heightened level of activity across your platform. Demonstrating the type of infrastructure and the approach that is needed to evolve your API infrastructure beyond just a request and response approach. Offering the rest of us with five possible blueprints we can consider when investing in our infrastructure.
You can find other examples of webhook implementations in the API Gallery. All of these platforms provide some useful examples of event-driven infrastructure in the wild. They provide us with a look at where the API space is headed from some of the most successful API providers out there who have been operating their APIs for a while now and are further along in their journey. Reflecting what the rest of us might face as we evolve in our own API journeys and see more activity via our platforms.
Published at DZone with permission of Kin Lane, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.