Monitoring webhook delivery logs and sending test notifications
After creating a webhook subscription, the fastest way to verify whether deliveries are actually reaching your endpoint is using the webhooks commands in the CLI.
Steps
- List your registered webhook URLs:
daras webhooks list(each row shows the ID, status, and URL). - Run
daras webhooks topicsto see all subscribable event topics. - Run
daras webhooks deliveries <webhookId>to view recent delivery attempts and statuses for a specific webhook; the output shows the 50 most recent attempts. - Send a test delivery (
test.pingevent) withdaras webhooks test <webhookId>to verify that your endpoint actually receives notifications. - Failed deliveries are automatically retried at intervals of 1 min, 5 min, 30 min, 2 hr, 12 hr, and 24 hr; once all retries are exhausted, the record moves to the
DEAD_LETTEREDstatus. You can track this in the status column of thedeliveriesoutput. - Check the
x-daras-signatureheader to verify that every incoming delivery genuinely came from Daras: the header is formatted ast=<timestamp>,v1=<signature>, where the signature is the HMAC-SHA256 hash of<timestamp>.<body>computed with your webhook secret.
Tips
- The
daras integration logs --webhook <id>command lets you view the same delivery log from inside an integration project. - You can also perform the same actions in the dashboard on the Ayarlar → Olay bildirimleri (Webhook) (Settings → Event notifications (Webhook)) page: use the "Webhook ekle" (Add webhook) button to add a new URL, "Test" on the row to send a test, and "Teslimatlar" (Deliveries) to view recent deliveries.