Vismatix logo
VISMATIX
Packs d’agents Appli
Events & Streaming Events

Plateforme développeur Vismatix — Webhooks & Event Streaming API

Plateforme développeur Vismatix — Webhooks & Event Streaming API: Créez des intégrations avec l’API REST, le serveur MCP distant, OAuth, les SDK, les…

Créez des intégrations avec l’API REST, le serveur MCP distant, OAuth, les SDK, les webhooks et les outils agent.

Event Streaming & Automation

Webhooks, HMAC-SHA256 Signing & Delivery Logs

vmtx_u_ Only HMAC SHA-256

Stream real-time workspace events straight to Zapier, Make, n8n, Discord bots, or your own backend workers. Built-in SSRF validation blocks private/loopback targets (422 SSRF_BLOCKED), while starter accounts (Starter $6.89/mo) unlock 1 live webhook and Plus+ plans scale higher. Note: requires an Account Master Key (vmtx_u_).

اربط الأحداث الفورية مباشرة بـ Zapier وMake وn8n أو خوادمك الخاصة. يحمي النظام شبكتك برفض عناوين الشبكات الداخلية (422 SSRF_BLOCKED)، وتتيح باقة Starter ($6.89/mo) إنشاء أول Webhook فعّال، مع اشتراط مفتاح الحساب الشامل (vmtx_u_).

Supported Event Subscriptions

post.created

Fires when a draft or scheduled post is created.

post.scheduled

Fires when a post schedule timestamp changes or locks.

post.published

Dispatched upon successful live delivery.

task.completed

Fired whenever an operational task toggles completed.

POST /api/v3/webhooks Register Subscription
Method Endpoint Purpose
GET/api/v3/webhooks/presetsFetch Zapier, Make & n8n starter presets
GET/api/v3/webhooks/{id}/deliveriesInspect recent webhook delivery attempts & HTTP status codes
POST/api/v3/webhooks/{id}/testDispatch an immediate signed ping payload
PUT / DELETE/api/v3/webhooks/{id}Update URL, active flag, subscribed events, or delete hook

Verifying X-Vismatix-Signature (Python & Node.js) التحقق من توقيع X-Vismatix-Signature برمجياً

Every outbound webhook delivery sets X-Vismatix-Signature: t=TIMESTAMP,v2=HEX_SIGNATURE where v2 = HMAC_SHA256(secret, "{t}.{raw_body}").

# Python Verification
import hmac, hashlib

def verify_webhook(raw_body: bytes, sig_header: str, secret: str) -> bool:
    parts = dict(p.split("=", 1) for p in sig_header.split(",") if "=" in p)
    t, v2 = parts.get("t", ""), parts.get("v2", "")
    signed = f"{t}.".encode("utf-8") + raw_body
    digest = hmac.new(secret.encode("utf-8"), signed, hashlib.sha256).hexdigest()
    return bool(t and v2 and hmac.compare_digest(digest, v2))
// Node.js Verification
import crypto from 'node:crypto';

export function verifyWebhook(rawBuffer, sigHeader, secret) {
  const parts = Object.fromEntries(sigHeader.split(',').map((s) => s.split('=')));
  if (!parts.t || !parts.v2) return false;
  const payload = Buffer.concat([Buffer.from(`${parts.t}.`), rawBuffer]);
  const expected = crypto.createHmac('sha256', secret).update(payload).digest('hex');
  return expected.length === parts.v2.length &&
         crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v2));
}
Was this guide clear & helpful?