Z

ZenSched · Tools Webhook Register

by ZenSched

POSTBase

$0.01

per call · USD Coin on Base

ZenSched `webhook_register` — Register an HTTPS webhook. events_json = JSON list from: ['worker.invited', 'worker.activated', 'shift.checkin', 'shift.checkout', 'shift.missed', 'form.submitted', 'timesheet.ready', 'billing.low_balance', 'webhook.disabled']. Returns the HMAC signing secret (or pass your own). Pay-per-call $0.01 USDC; the paying wallet owns the org (auto-provisioned on first call). Catalog: https://mcp.zensched.com/x402/tools

Endpoint

POST https://mcp.zensched.com/x402/tools/webhook_register

1

Calls / 30d

1

Unique payers / 30d

Sep 2

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://mcp.zensched.com/x402/tools/webhook_register", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "events_json": "[\"shift.checkin\", \"shift.checkout\"]",
    "url": "https://example.com/zensched-hook"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://mcp.zensched.com/x402/tools/webhook_register" \
  -H "Content-Type: application/json" \
  -d '{"events_json":"[\"shift.checkin\", \"shift.checkout\"]","url":"https://example.com/zensched-hook"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "org": {
    "org_id": 12345,
    "provisioned": false,
    "wallet": "0x…"
  },
  "payment": {
    "amount_usd": "$0.01",
    "network": "eip155:8453",
    "payer": "0x…",
    "transaction": "0x…"
  },
  "result": {
    "note": "tool-specific JSON result",
    "status": "ok"
  },
  "tool": "webhook_register"
}

Payment details

Pay to0x081d7f97ca4478dac465569e1fe3f5846ad598dd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from ZenSched & similar services