On this page2 sections
Guides
Webhook Overview
Real-time webhook subscription architecture, SSRF safeguards, and event catalog.
Webhooks notify your external services (ERP, accounting, CRM, notifications) in real time whenever key events occur inside your InvogerPOS tenant.
How Delivery Works
- Your server registers an HTTPS endpoint using
POST /api/integrations/create-webhook. - When an event fires, InvogerPOS verifies the destination IP against SSRF blocklists, signs the payload with HMAC-SHA256, and sends an HTTP
POST. - Your endpoint must return an HTTP
2xxstatus within 30 seconds.
Supported Events
invoice.created: Sale invoice committed.invoice.voided: Invoice voided and stock restored.product.created: New catalog product created.product.updated: Product metadata or price updated.inventory.adjusted: Outlet stock quantity updated.outlet.created: New store outlet created.
POST/api
curl -X POST "https://api.invoger.com/api/integrations/create-webhook" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "name": "Order Events", "url": "https://my-app.com/webhooks/invoger", "events": [ "invoice.created", "invoice.voided" ], "logMode": "Full", "maxRetries": 2 }'Interactive playground
Response
application/json
{
"success": true,
"message": "Webhook registered successfully",
"data": {
"id": "w1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
"name": "Order Events",
"signingSecret": "whsec_..."
}
}