Let me show you what I mean, when I say, events are everywhere where there are APIs:

  • Payment API: An eventย notifies when the payment was processed.
  • SMS API: An eventย notifies when the SMS is delivered.
  • Email API: An eventย notifies when the email was opened.

 

 

Almost every API can become better by supporting events. But eventsย are not natively supported by the REST architectural style which is used by most APIs. It requires some heavy lifting and engineering to create anย event infrastructure that is developer-friendly, easy to use, reliable, secure and highly available.

What are the best practices for supporting events in RESTful APIs?

Check out the recently releasedย Webhooks Book. It is packed with best practices on many technical aspects. And it contains concrete design templates to help you extend your API portfolio with a modern event infrastructure based on webhooks. So you can offer both APIs and events that developers love to use.

Events are Everywhere where there are APIs

Also published on Medium.

Tagged on: