
Knock Has a Free API — Here's How to Build a Notification System in 15 Minutes
An engineer I know spent a month building a notification system. Email templates, push notifications, in-app feed, preference management, batching. Then the PM asked for Slack notifications too. He rewrote it all with Knock in one afternoon. What Knock Offers for Free Knock free tier: 10,000 notifications/month Unlimited channels — email, push, SMS, Slack, in-app Workflow builder — visual notification logic Preference management — users control what they receive Batching and digests — 'You have 5 new comments' instead of 5 emails In-app feed component — drop-in React component Idempotency — no duplicate notifications Quick Start npm install @knocklabs/node const { Knock } = require ( ' @knocklabs/node ' ); const knock = new Knock ( process . env . KNOCK_API_KEY ); // Send a notification await knock . workflows . trigger ( ' new-comment ' , { recipients : [ ' user_123 ' ], data : { commenter : ' Alice ' , comment : ' Great post! ' , post_title : ' How to Build APIs ' , post_url : ' http
Continue reading on Dev.to Webdev
Opens in a new tab


