Interhook Gateway v1.0
System Operational
Health Check API
WhatsApp → SIS Automation Engine

Automated Security Device Provisioning

Interhook connects field technicians on WhatsApp with the SIS Cloud Platform. It intercepts structured installation messages from OpenWA, parses device serials and network configurations, resolves site coordinates via Google Places, and registers edge routers and Hikvision NVRs automatically.

Total Processed Messages
0
Ingested via OpenWA webhook
Successful Provisions
0
Site, edge router & NVR enrolled
Failed / Action Required
0
Validation or upstream error
Target Domain & Port
:8001
interhook.jezt.cloud (Reverse Proxied)
interhook.jezt.cloud

Provisioning Workflow Pipeline

STEP 01

WhatsApp Webhook

Technician sends installation template to approved WhatsApp group.

STEP 02

Signature & Dedupe

HMAC SHA-256 validation prevents tampering and duplicates are ignored.

STEP 03

Parsing & Redaction

Extracts router IP/serial and NVR details. Credentials redacted in logs.

STEP 04

Places Lookup

Queries Google Places for coordinates, city, district, and state.

STEP 05

SIS Provision & Reply

Registers edge devices into SIS and replies back with status confirmation.

Registered Application Endpoints

POST /webhooks/openwa
Inbound Webhook for WhatsApp Messages
Request Headers & Description

Receives JSON events delivered by the OpenWA WhatsApp client. Rejects unauthorized chats, validates signatures, persists messages, and spawns async worker threads.

Headers: Content-Type: application/json X-OpenWA-Signature: sha256=<hmac> (Optional) Approved Group: 120363178371378755@g.us
cURL Verification Example
curl -X POST https://interhook.jezt.cloud/webhooks/openwa \ -H "Content-Type: application/json" \ -d '{ "message": { "id": "msg_test_01", "chatId": "120363178371378755@g.us", "sender": "919876543210@c.us", "body": "ACME Site CODE123\nRouter Serial: RT1000\nRouter IP: 192.168.1.1\nNVR IP: 192.168.1.100\nUsername: admin\nPassword: secretPassword" } }'
GET /health
Liveness & Readiness Probe
Endpoint Purpose

Used by load balancers, systemd, uptime checkers, and Nginx reverse proxy to verify process health and HTTP responsiveness.

Response (200 OK): { "status": "ok" }
cURL Probe
curl -i https://interhook.jezt.cloud/health
GET /
Service Dashboard & Metrics
Description

Renders this interactive operational dashboard. Also supports programmatic queries by passing Accept: application/json or ?format=json to receive raw statistics.

JSON API Query
curl -H "Accept: application/json" https://interhook.jezt.cloud/

Connected Systems & Configuration

OpenWA WhatsApp Gateway
Bi-directional message ingest and automated confirmation replies
Configured & Active
SIS Cloud Security Platform
Endpoint: https://sisvprotect.com (Provisioning Edge & Hikvision NVR)
API Connected
Google Maps Geocoding & Places
Resolves installation site addresses to district, state, and GPS coordinates
Places API Ready
SQLite Audit Datastore
Persists audit logs with password redaction (interhook.sqlite3)
Healthy (Thread-Safe Lock)

Recent Installation Activity

No Webhook Events Recorded Yet
Incoming messages from WhatsApp group will appear here with live audit tracking.