Guides

Receiving webhooks

Subscribing to events

Register a webhook endpoint in the dashboard and well POST these events to it:

  • application.created
  • interview.scheduled
  • hire.confirmed

Verifying signatures

import { verifySignature } from "@jinzai/sdk";
if (!verifySignature(rawBody, req.headers["jinzai-signature"], secret)) {
  return new Response("invalid", { status: 401 });
}