Start sending webhooks in under 5 minutes
npm i vartiq // or bun add vartiq // or pnpm add vartiq
import { Vartiq } from 'vartiq'; const vartiq = new Vartiq("YOUR_API_KEY");
const app = await vartiq.app.create({ name: "App name", // setting this to the name or id of your customer is recommended projectId: "PROJECT_ID", });
const webhook = await vartiq.webhook.create({ url: "https://example.com", appId: "APP_ID", customHeaders: [{ key: "x-app", value: "x-value" }], // optional });
const message = await vartiq.webhook.message.create("APP_ID", { hello: "world" });