DOCUMENTATION / QUICKSTART

From zero to your
first event.

Connect a test endpoint, send a sample event and inspect the delivery. These steps are example product documentation; replace endpoint URLs and SDK details with your real implementation.

STEP 01 / INSTALL

Install your SDK

Example package command. Replace the package name and version with your published SDK.

npm install @hookscope/node
STEP 02 / CONFIGURE

Add your endpoint

Keep secrets in environment variables. Never commit production credentials into source control.

import { Hookscope } from "@hookscope/node";

const hookscope = new Hookscope({
  apiKey: process.env.HOOKSCOPE_API_KEY
});

await hookscope.endpoints.create({
  url: "https://your-app.example.com/webhooks"
});
STEP 03 / SEND A TEST

Inspect the first delivery

Send a representative event, then inspect its status, payload and retry history in your dashboard.

await hookscope.events.send({
  type: "customer.created",
  data: { customerId: "cus_demo_01" }
});

What to verify before production

Explore the interactive demo ↗